From: notaz Date: Mon, 2 Jun 2008 19:28:04 +0000 (+0000) Subject: added zram clearing on reset for Psycho Pinball (does it happen on hw?) X-Git-Tag: v1.85~471 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1832075ec7b43b166a9d5f83753832a05e7d4239;p=picodrive.git added zram clearing on reset for Psycho Pinball (does it happen on hw?) git-svn-id: file:///home/notaz/opt/svn/PicoDrive@481 be3aeb3a-fb24-0410-a615-afba39da0efa --- diff --git a/Pico/Pico.c b/Pico/Pico.c index 7146e2c0..6d0bfdd6 100644 --- a/Pico/Pico.c +++ b/Pico/Pico.c @@ -156,6 +156,9 @@ int PicoReset(void) Pico.m.dirtyPal = 1; + Pico.m.z80_bank68k = 0; + memset(Pico.zram, 0, sizeof(Pico.zram)); // ?? + PicoDetectRegion(); Pico.video.status = 0x3428 | Pico.m.pal; // 'always set' bits | vblank | collision | pal