notaz.gp2x.de
/
picodrive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6cba1ee
)
sms, fix gg always zeroing ram
author
kub
<derkub@gmail.com>
Mon, 8 Nov 2021 18:36:05 +0000
(19:36 +0100)
committer
kub
<derkub@gmail.com>
Mon, 8 Nov 2021 18:36:05 +0000
(19:36 +0100)
pico/sms.c
patch
|
blob
|
blame
|
history
diff --git
a/pico/sms.c
b/pico/sms.c
index
e7fe4ba
..
a62f407
100644
(file)
--- a/
pico/sms.c
+++ b/
pico/sms.c
@@
-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 & 0x
4 ? 0xf0:0, sizeof(PicoMem.zram));
+ memset(PicoMem.zram,
(Pico.m.hardware&5) ==
4 ? 0xf0:0, sizeof(PicoMem.zram));
}
void PicoPowerMS(void)