mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-06 07:38:05 -04:00
32x: change irq hadling, make it more drc friendly
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@816 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
a8b03e2d4d
commit
6add7875b5
5 changed files with 46 additions and 25 deletions
|
@ -31,6 +31,7 @@ typedef struct
|
|||
void **pc_hashtab; // 70
|
||||
|
||||
// common
|
||||
int pending_level; // MAX(pending_irl, pending_int_irq)
|
||||
int pending_irl;
|
||||
int pending_int_irq; // internal irq
|
||||
int pending_int_vector;
|
||||
|
@ -48,6 +49,7 @@ void sh2_finish(SH2 *sh2);
|
|||
void sh2_reset(SH2 *sh2);
|
||||
void sh2_irl_irq(SH2 *sh2, int level);
|
||||
void sh2_internal_irq(SH2 *sh2, int level, int vector);
|
||||
void sh2_do_irq(SH2 *sh2, int level, int vector);
|
||||
|
||||
void sh2_execute(SH2 *sh2, int cycles);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue