mirror of
https://github.com/digarok/gsplus.git
synced 2024-05-28 13:41:31 +00:00
fix for WAI instruction stalling on SCB interrupt firing - Fantavision
This commit is contained in:
parent
3cb764d813
commit
e8ed62129f
|
@ -2217,8 +2217,12 @@ instcb_SYM /* WAI */
|
|||
b dispatch
|
||||
stw scratch2,r%g_wait_pending(scratch1)
|
||||
#else
|
||||
g_wait_pending = 1;
|
||||
CYCLES_FINISH
|
||||
if(g_irq_pending) {
|
||||
g_wait_pending = 0;
|
||||
INC_KPC_1;
|
||||
} else {
|
||||
g_wait_pending = 1;
|
||||
}
|
||||
#endif
|
||||
|
||||
instcc_SYM /* CPY abs */
|
||||
|
|
Loading…
Reference in New Issue
Block a user