1.32 release
[picodrive.git] / Pico / cd / Memory.c
index 564623e..44f84d8 100644 (file)
@@ -1,10 +1,6 @@
-// This is part of Pico Library\r
-\r
-// (c) Copyright 2004 Dave, All rights reserved.\r
-// (c) Copyright 2007 notaz, All rights reserved.\r
-// Free for non-commercial use.\r
-\r
-// For commercial use, separate licencing terms must be obtained.\r
+// Memory I/O handlers for Sega/Mega CD.\r
+// Loosely based on Gens code.\r
+// (c) Copyright 2007, Grazvydas "notaz" Ignotas\r
 \r
 // A68K no longer supported here\r
 \r
@@ -698,7 +694,7 @@ static void PicoWriteM68k16(u32 a,u16 d)
       Pico_mcd->s68k_regs[0xe] = d >> 8;\r
 #ifdef USE_POLL_DETECT\r
       if ((s68k_poll_adclk&0xfe) == 0xe && s68k_poll_cnt > POLL_LIMIT) {\r
-        SekSetStopS68k(0); s68k_poll_adclk = -1;\r
+        SekSetStopS68k(0); s68k_poll_adclk = 0;\r
         plprintf("s68k poll release, a=%02x\n", a);\r
       }\r
 #endif\r