diff options
author | StapleButter <thetotalworm@gmail.com> | 2017-02-10 14:27:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-10 14:27:26 +0100 |
commit | 3ad95fbc65cf0a195ce8e93727b3e9daf91ba9a4 (patch) | |
tree | 0f97349282d6d54c9f45f58d3ad2abd800865ae9 | |
parent | 2bd67aef64e6932019fa90db982a1755ce100c0f (diff) | |
parent | 896bb1b7813e9197b0532841b681fec1cefb6146 (diff) |
Merge pull request #4 from lioncash/off-by-one
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: |