added zram clearing on reset for Psycho Pinball (does it happen on hw?)
authornotaz <notasas@gmail.com>
Mon, 2 Jun 2008 19:28:04 +0000 (19:28 +0000)
committernotaz <notasas@gmail.com>
Mon, 2 Jun 2008 19:28:04 +0000 (19:28 +0000)
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@481 be3aeb3a-fb24-0410-a615-afba39da0efa

Pico/Pico.c

index 7146e2c..6d0bfdd 100644 (file)
@@ -156,6 +156,9 @@ int PicoReset(void)
 \r
   Pico.m.dirtyPal = 1;\r
 \r
+  Pico.m.z80_bank68k = 0;\r
+  memset(Pico.zram, 0, sizeof(Pico.zram)); // ??\r
+\r
   PicoDetectRegion();\r
   Pico.video.status = 0x3428 | Pico.m.pal; // 'always set' bits | vblank | collision | pal\r
 \r