32x: watchdog for Star Wars, SCI IRQs for X-men (also needs idle loop hacks)

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@799 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2009-10-01 20:53:36 +00:00
parent 236990cf77
commit 1d7a28a723
8 changed files with 167 additions and 54 deletions

View file

@ -44,7 +44,9 @@ typedef struct
UINT32 delay;
UINT32 test_irq;
int pending_irq;
int pending_irl;
int pending_int_irq; // internal irq
int pending_int_vector;
void (*irq_callback)(int id, int level);
int is_slave;
@ -58,5 +60,6 @@ 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);
void sh2_internal_irq(SH2 *sh2, int level, int vector);
#endif /* __SH2_H__ */