ARM: Fix out of bounds array indexing in RestoreCPSR

This commit is contained in:
Lioncash 2017-02-09 08:18:05 -05:00
parent 2bd67aef64
commit 896bb1b781
1 changed files with 1 additions and 1 deletions

View File

@ -197,7 +197,7 @@ void ARM::RestoreCPSR()
switch (CPSR & 0x1F) switch (CPSR & 0x1F)
{ {
case 0x11: case 0x11:
CPSR = R_FIQ[8]; CPSR = R_FIQ[7];
break; break;
case 0x12: case 0x12: