mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
32x: improved lockstep mode, allows compatibility over 50%
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@797 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
2ea2cbfe8b
commit
c987bb5c36
7 changed files with 55 additions and 36 deletions
|
@ -15,27 +15,9 @@
|
|||
}
|
||||
|
||||
// CPUS_RUN
|
||||
#ifndef RUN_SH2S
|
||||
#define RUN_SH2S(x)
|
||||
#endif
|
||||
|
||||
#ifndef PICO_CD
|
||||
#ifndef CPUS_RUN
|
||||
#define CPUS_RUN(m68k_cycles,s68k_cycles) \
|
||||
{ \
|
||||
SekRunM68k(m68k_cycles); \
|
||||
RUN_SH2S(m68k_cycles); \
|
||||
}
|
||||
#else
|
||||
#define CPUS_RUN(m68k_cycles,s68k_cycles) \
|
||||
{ \
|
||||
if ((PicoOpt&POPT_EN_MCD_PSYNC) && (Pico_mcd->m.busreq&3) == 1) { \
|
||||
SekRunPS(m68k_cycles, s68k_cycles); /* "better/perfect sync" */ \
|
||||
} else { \
|
||||
SekRunM68k(m68k_cycles); \
|
||||
if ((Pico_mcd->m.busreq&3) == 1) /* no busreq/no reset */ \
|
||||
SekRunS68k(s68k_cycles); \
|
||||
} \
|
||||
}
|
||||
SekRunM68k(m68k_cycles)
|
||||
#endif
|
||||
|
||||
static int PicoFrameHints(void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue