DS I/O: Fix VRAMCNT_G value
Vicki Pfau vi@endrift.com
Sat, 25 Feb 2017 01:00:52 -0800
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/ds/io.c
→
src/ds/io.c
@@ -437,7 +437,7 @@ DSVideoConfigureVRAM(ds, address - DS9_REG_VRAMCNT_A + 1, value >> 8, oldValue >> 8);
break; case DS9_REG_VRAMCNT_G: oldValue = ds->memory.io9[address >> 1]; - value &= 0x9F03; + value &= 0x039F; DSVideoConfigureVRAM(ds, 6, value & 0xFF, oldValue & 0xFF); DSConfigureWRAM(&ds->memory, value >> 8); break;