mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
sms, fix gg always zeroing ram
This commit is contained in:
parent
6cba1ee700
commit
5b8ff611e0
1 changed files with 1 additions and 1 deletions
|
@ -552,7 +552,7 @@ void PicoResetMS(void)
|
|||
Pico.video.reg[10] = 0xff;
|
||||
|
||||
// BIOS, clear zram (unitialized on Mark-III, cf src/mame/drivers/sms.cpp)
|
||||
memset(PicoMem.zram, Pico.m.hardware & 0x4 ? 0xf0:0, sizeof(PicoMem.zram));
|
||||
memset(PicoMem.zram, (Pico.m.hardware&5) == 4 ? 0xf0:0, sizeof(PicoMem.zram));
|
||||
}
|
||||
|
||||
void PicoPowerMS(void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue