From bad7b20434cebca369c6bf71fdbae9ed5a157119 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Fri, 24 Sep 2021 18:54:22 -0400 Subject: Reverted the Sigma backport memory stuff --- Source/Randomizer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/Randomizer.cpp') diff --git a/Source/Randomizer.cpp b/Source/Randomizer.cpp index 2ef184c..6e6fabf 100644 --- a/Source/Randomizer.cpp +++ b/Source/Randomizer.cpp @@ -116,9 +116,9 @@ void Randomizer::Randomize() { // begin_endgame_1 - Prevent actually ending the game (Wonkavator) _memory->AddSigScan({0x83, 0x7C, 0x01, 0xD0, 0x04}, [&](int index){ - if (Memory::GLOBALS == 0x5B28C0) { // Version differences. + if (GLOBALS == 0x5B28C0) { // Version differences. index += 0x75; - } else if (Memory::GLOBALS == 0x62D0A0) { + } else if (GLOBALS == 0x62D0A0) { index += 0x86; } _memory->WriteData({index}, {0xEB}); // jz -> jmp -- cgit 1.4.1