From cfd4166d5a73e16868c0df89bd373443b63abf8e Mon Sep 17 00:00:00 2001 From: CocoSimone Date: Mon, 12 Dec 2022 02:47:48 +0100 Subject: [PATCH] fix SM64 (USA) hanging before peach reads the letter if file is selected too fast --- src/n64/core/mmio/AI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/n64/core/mmio/AI.cpp b/src/n64/core/mmio/AI.cpp index ec5597cc..b3f5dde3 100644 --- a/src/n64/core/mmio/AI.cpp +++ b/src/n64/core/mmio/AI.cpp @@ -44,7 +44,7 @@ void AI::Write(Mem& mem, Registers& regs, u32 addr, u32 val) { case 0x04500004: { u32 len = (val & 0x3FFFF) & ~7; if((dmaCount < 2) && len) { - if(dmaCount == 0) InterruptRaise(mem.mmio.mi, regs, Interrupt::AI); + // if(dmaCount == 0) InterruptRaise(mem.mmio.mi, regs, Interrupt::AI); dmaLen[dmaCount] = len; dmaCount++; }