mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-06 15:48:05 -04:00
32x: sh2mame: critical bugfix (irqs on delay slot) + global cycle counter
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@796 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
1b3f584492
commit
2ea2cbfe8b
2 changed files with 4 additions and 5 deletions
|
@ -48,10 +48,10 @@ typedef struct
|
|||
void (*irq_callback)(int id, int level);
|
||||
int is_slave;
|
||||
|
||||
// XXX: unused, will we ever use?
|
||||
int internal_irq_level;
|
||||
UINT32 cycles_aim; // subtract sh2_icount to get global counter
|
||||
} SH2;
|
||||
|
||||
SH2 *sh2; // active sh2
|
||||
extern int sh2_icount;
|
||||
|
||||
void sh2_init(SH2 *sh2, int is_slave);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue