Mercurial > repos > blastem
diff z80_to_x86.c @ 592:4ff7bbb3943b
Get rest of emulator compiling again with Z80 core enabled
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Wed, 17 Dec 2014 23:03:19 -0800 |
parents | 966b46c68942 |
children | 5ef3fe516da9 |
line wrap: on
line diff
--- a/z80_to_x86.c Wed Dec 17 09:53:51 2014 -0800 +++ b/z80_to_x86.c Wed Dec 17 23:03:19 2014 -0800 @@ -1897,7 +1897,7 @@ } } -void init_x86_z80_opts(z80_options * options, memmap_chunk * chunks, uint32_t num_chunks) +void init_x86_z80_opts(z80_options * options, memmap_chunk const * chunks, uint32_t num_chunks) { memset(options, 0, sizeof(*options)); @@ -2069,6 +2069,13 @@ jmp_r(code, options->gen.scratch1); } +void * z80_gen_bank_write(uint32_t start_address, void * voptions) +{ + z80_options * options = voptions; + //TODO: Handle writes to bank register + return options; +} + void init_z80_context(z80_context * context, z80_options * options) { memset(context, 0, sizeof(*context));