From db568e45533b6a13a6fa6db2583c6cfdae55fc6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Thu, 10 Oct 2013 15:57:04 +0200 Subject: [PATCH] Minor CwCheat bugfix contributed by dlanor in issue #4103 --- Core/CwCheat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/CwCheat.cpp b/Core/CwCheat.cpp index 67c39705a7..02c3bd4cc2 100644 --- a/Core/CwCheat.cpp +++ b/Core/CwCheat.cpp @@ -489,7 +489,7 @@ void CWCheatEngine::Run() { break; case 0xE: // Test commands, multiple skip { - bool is8Bit = (comm >> 24) == 0x1; + bool is8Bit = (comm >> 24) == 0xE1; addr = GetAddress(arg & 0x0FFFFFFF); if (Memory::IsValidAddress(addr)) { int memoryValue = is8Bit ? Memory::Read_U8(addr) : Memory::Read_U16(addr);