mirror of https://github.com/mgba-emu/mgba.git
DS: Backport CPSR I fix
This commit is contained in:
parent
87caf0a6ac
commit
e0ae2e8906
|
@ -195,7 +195,7 @@ void DS9Reset(struct ARMCore* cpu) {
|
|||
static void DSProcessEvents(struct ARMCore* cpu) {
|
||||
struct DS* ds = (struct DS*) cpu->master;
|
||||
|
||||
if (ds->springIRQ7) {
|
||||
if (ds->springIRQ7 && !cpu->cpsr.i) {
|
||||
ARMRaiseIRQ(cpu);
|
||||
ds->springIRQ7 = 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue