mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-06 07:38:05 -04:00
32x: hook slave sh2, BIOS passes (not much else):
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@787 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
4ea707e1e3
commit
b78efee2b2
5 changed files with 148 additions and 97 deletions
|
@ -45,16 +45,16 @@ typedef struct
|
|||
UINT32 test_irq;
|
||||
|
||||
int pending_irq;
|
||||
void (*irq_callback)(int level);
|
||||
void (*irq_callback)(int id, int level);
|
||||
int is_slave;
|
||||
|
||||
// XXX: unused, will we ever use?
|
||||
int internal_irq_level;
|
||||
int is_slave;
|
||||
} SH2;
|
||||
|
||||
extern int sh2_icount;
|
||||
|
||||
void sh2_init(SH2 *sh2);
|
||||
void sh2_init(SH2 *sh2, int is_slave);
|
||||
void sh2_reset(SH2 *sh2);
|
||||
int sh2_execute(SH2 *sh2_, int cycles);
|
||||
void sh2_irl_irq(SH2 *sh2, int level);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue