add 32bit write to DIVCNT and SQRTCNT

This commit is contained in:
StapleButter 2017-04-28 17:23:18 +02:00
parent ecbcf2172a
commit 5de98cd484
1 changed files with 4 additions and 0 deletions

View File

@ -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;