X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Pico%2FPico.c;h=9ad226d66fe974910e8d3562bb79dca3055ce04e;hb=f53f286a8b48d19c65e83f90d00aa47e8e87c889;hp=4d6f9400140dc7e3dd9dceee1d9db05baef48477;hpb=9d917eea21607c7c239d4b0cd850d660c0c8e4c5;p=picodrive.git diff --git a/Pico/Pico.c b/Pico/Pico.c index 4d6f940..9ad226d 100644 --- a/Pico/Pico.c +++ b/Pico/Pico.c @@ -205,7 +205,7 @@ static __inline void SekRunM68k(int cyc) if((cyc_do=SekCycleAim-SekCycleCnt) <= 0) return; #if defined(EMU_CORE_DEBUG) // this means we do run-compare - SekCycleCnt+=CM_compareRun(cyc_do); + SekCycleCnt+=CM_compareRun(cyc_do, 0); #elif defined(EMU_C68K) PicoCpuCM68k.cycles=cyc_do; CycloneRun(&PicoCpuCM68k); @@ -213,7 +213,7 @@ static __inline void SekRunM68k(int cyc) #elif defined(EMU_M68K) SekCycleCnt+=m68k_execute(cyc_do); #elif defined(EMU_F68K) - SekCycleCnt+=fm68k_emulate(cyc_do+1); + SekCycleCnt+=fm68k_emulate(cyc_do+1, 0); #endif } @@ -222,7 +222,7 @@ static __inline void SekStep(void) // this is required for timing sensitive stuff to work int realaim=SekCycleAim; SekCycleAim=SekCycleCnt+1; #if defined(EMU_CORE_DEBUG) - SekCycleCnt+=CM_compareRun(1); + SekCycleCnt+=CM_compareRun(1, 0); #elif defined(EMU_C68K) PicoCpuCM68k.cycles=1; CycloneRun(&PicoCpuCM68k); @@ -230,7 +230,7 @@ static __inline void SekStep(void) #elif defined(EMU_M68K) SekCycleCnt+=m68k_execute(1); #elif defined(EMU_F68K) - SekCycleCnt+=fm68k_emulate(1); + SekCycleCnt+=fm68k_emulate(1, 0); #endif SekCycleAim=realaim; } @@ -297,10 +297,10 @@ static void PicoRunZ80Simple(int line_from, int line_to) if ((line == 224 || line == line_sample) && PsndOut) getSamples(line); if (line == 32 && PsndOut) emustatus &= ~1; if (line >= line_from_r && line < line_to_r) - z80_run(228); + z80_run_nr(228); } } else if (line_to_r-line_from_r > 0) { - z80_run(228*(line_to_r-line_from_r)); + z80_run_nr(228*(line_to_r-line_from_r)); // samples will be taken by caller } }