Mercurial > repos > blastem
diff gdb_remote.c @ 1103:22e87b739ad6
WIP split of ROM loading/argument parsing from Genesis emulation code. Compiles and doesn't crash, but nothing works. Still a few too many globals as well.
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Fri, 09 Dec 2016 09:48:48 -0800 |
parents | 59e664fa2da8 |
children | 2eb54e24914e |
line wrap: on
line diff
--- a/gdb_remote.c Mon Nov 28 22:45:46 2016 -0800 +++ b/gdb_remote.c Fri Dec 09 09:48:48 2016 -0800 @@ -168,7 +168,7 @@ return; } if (address >= 0xA00000 && address < 0xA04000) { - z80_ram[address & 0x1FFF] = value; + gen->zram[address & 0x1FFF] = value; genesis_context * gen = context->system; #ifndef NO_Z80 z80_handle_code_write(address & 0x1FFF, gen->z80);