diff options
author | Lioncash <mathew1800@gmail.com> | 2017-02-09 08:18:05 -0500 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2017-02-09 08:18:05 -0500 |
commit | 896bb1b7813e9197b0532841b681fec1cefb6146 (patch) | |
tree | 0f97349282d6d54c9f45f58d3ad2abd800865ae9 | |
parent | 2bd67aef64e6932019fa90db982a1755ce100c0f (diff) |
ARM: Fix out of bounds array indexing in RestoreCPSR
-rw-r--r-- | ARM.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -197,7 +197,7 @@ void ARM::RestoreCPSR() switch (CPSR & 0x1F) { case 0x11: - CPSR = R_FIQ[8]; + CPSR = R_FIQ[7]; break; case 0x12: |