DS: Backport CPSR I fix
Jeffrey Pfau jeffrey@endrift.com
Mon, 02 Jan 2017 18:22:02 -0800
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/ds/ds.c
→
src/ds/ds.c
@@ -195,7 +195,7 @@
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; }