From 1832075ec7b43b166a9d5f83753832a05e7d4239 Mon Sep 17 00:00:00 2001 From: notaz Date: Mon, 2 Jun 2008 19:28:04 +0000 Subject: [PATCH] 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 --- Pico/Pico.c | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.39.5