mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
32x: improve 'simple' scheduling, works for 'interesting' games
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@798 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
c987bb5c36
commit
236990cf77
4 changed files with 42 additions and 35 deletions
|
@ -231,7 +231,7 @@ typedef void (z80_write_f)(unsigned int a, unsigned char data);
|
|||
#include "cpu/sh2mame/sh2.h"
|
||||
|
||||
SH2 msh2, ssh2;
|
||||
#define ash2_end_run(after) sh2_icount = after
|
||||
#define ash2_end_run(after) if (sh2_icount > (after)) sh2_icount = after
|
||||
#define ash2_cycles_done() (sh2->cycles_aim - sh2_icount)
|
||||
|
||||
#define sh2_pc(c) (c) ? ssh2.ppc : msh2.ppc
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue