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
|
@ -232,7 +232,7 @@ typedef void (z80_write_f)(unsigned int a, unsigned char data);
|
|||
|
||||
SH2 msh2, ssh2;
|
||||
#define ash2_end_run(after) sh2_icount = after
|
||||
#define ash2_cycles_done() (10000 - sh2_icount) // HACK
|
||||
#define ash2_cycles_done() (sh2->cycles_aim - sh2_icount)
|
||||
|
||||
#define sh2_pc(c) (c) ? ssh2.ppc : msh2.ppc
|
||||
#define sh2_reg(c, x) (c) ? ssh2.r[x] : msh2.r[x]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue