mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-06 15:48:05 -04:00
SekStepM68k restored, pad read issues with D&D fixed
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@543 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
9cd8914e02
commit
5f9a0d1630
5 changed files with 24 additions and 2 deletions
16
Pico/Sek.c
16
Pico/Sek.c
|
@ -163,6 +163,21 @@ PICO_INTERNAL int SekReset(void)
|
|||
return 0;
|
||||
}
|
||||
|
||||
void SekStepM68k(void)
|
||||
{
|
||||
SekCycleAim=SekCycleCnt+1;
|
||||
#if defined(EMU_CORE_DEBUG)
|
||||
SekCycleCnt+=CM_compareRun(1, 0);
|
||||
#elif defined(EMU_C68K)
|
||||
PicoCpuCM68k.cycles=1;
|
||||
CycloneRun(&PicoCpuCM68k);
|
||||
SekCycleCnt+=1-PicoCpuCM68k.cycles;
|
||||
#elif defined(EMU_M68K)
|
||||
SekCycleCnt+=m68k_execute(1);
|
||||
#elif defined(EMU_F68K)
|
||||
SekCycleCnt+=fm68k_emulate(1, 0);
|
||||
#endif
|
||||
}
|
||||
|
||||
PICO_INTERNAL void SekSetRealTAS(int use_real)
|
||||
{
|
||||
|
@ -174,6 +189,7 @@ PICO_INTERNAL void SekSetRealTAS(int use_real)
|
|||
#endif
|
||||
}
|
||||
|
||||
|
||||
/* idle loop detection, not to be used in CD mode */
|
||||
#ifdef EMU_C68K
|
||||
#include "cpu/Cyclone/tools/idle.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue