removed z80 cycle code in nonacc mode as it was only causing trouble
[picodrive.git] / Pico / Pico.c
index 7b70797..259dc18 100644 (file)
@@ -458,19 +458,9 @@ static void PicoRunZ80Simple(int line_from, int line_to)
 {\r
   int line_from_r=line_from, line_to_r=line_to, line = line_from;\r
   int line_sample = Pico.m.pal ? 68 : 93;\r
-  extern const unsigned short vcounts[];\r
 \r
   if(!(PicoOpt&4) || Pico.m.z80Run == 0) { line_from_r = line_to_r; line_to_r = 0; }\r
 \r
-  if(z80startCycle != 0x01000000) {\r
-    line_from_r = vcounts[z80startCycle>>8]+1;\r
-    z80startCycle = 0x01000000;\r
-  }\r
-  if(z80stopCycle != 0x01000000) {\r
-    line_to_r = vcounts[z80stopCycle>>8]+1;\r
-    z80stopCycle = 0x01000000;\r
-  }\r
-\r
   if(PicoOpt&1) {\r
     // we have ym2612 enabled, so we have to run Z80 in lines, so we could update DAC and timers\r
     for(; line < line_to; line++) {\r