GB IO: Read back current bank when switching banks
Jeffrey Pfau jeffrey@endrift.com
Fri, 19 Feb 2016 22:06:52 -0800
1 files changed,
1 insertions(+),
0 deletions(-)
jump to
M
src/gb/io.c
→
src/gb/io.c
@@ -346,6 +346,7 @@ GBVideoWritePalette(&gb->video, address, value);
break; case REG_SVBK: GBMemorySwitchWramBank(&gb->memory, value); + value = gb->memory.wramCurrentBank; break; default: goto failed;