From 896bb1b7813e9197b0532841b681fec1cefb6146 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Thu, 9 Feb 2017 08:18:05 -0500 Subject: ARM: Fix out of bounds array indexing in RestoreCPSR --- ARM.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ARM.cpp') diff --git a/ARM.cpp b/ARM.cpp index f582deb..10b8795 100644 --- a/ARM.cpp +++ b/ARM.cpp @@ -197,7 +197,7 @@ void ARM::RestoreCPSR() switch (CPSR & 0x1F) { case 0x11: - CPSR = R_FIQ[8]; + CPSR = R_FIQ[7]; break; case 0x12: -- cgit v1.2.3