From 5de98cd48404a59fb5ed0bedc233671f55540960 Mon Sep 17 00:00:00 2001 From: StapleButter Date: Fri, 28 Apr 2017 17:23:18 +0200 Subject: [PATCH] add 32bit write to DIVCNT and SQRTCNT --- src/NDS.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/NDS.cpp b/src/NDS.cpp index 626ce3d5..18a6f46b 100644 --- a/src/NDS.cpp +++ b/src/NDS.cpp @@ -1878,6 +1878,10 @@ void ARM9IOWrite32(u32 addr, u32 val) GPU::MapVRAM_I(8, (val >> 8) & 0xFF); return; + case 0x04000280: DivCnt = val; StartDiv(); return; + + case 0x040002B0: SqrtCnt = val; StartSqrt(); return; + case 0x04000290: DivNumerator[0] = val; StartDiv(); return; case 0x04000294: DivNumerator[1] = val; StartDiv(); return; case 0x04000298: DivDenominator[0] = val; StartDiv(); return;