Merge pull request #4 from lioncash/off-by-one

ARM: Fix out of bounds array indexing in RestoreCPSR
This commit is contained in:
StapleButter 2017-02-10 14:27:26 +01:00 committed by GitHub
commit 3ad95fbc65
1 changed files with 1 additions and 1 deletions

View File

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