diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2021-09-24 18:54:22 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2021-09-24 18:54:22 -0400 |
commit | bad7b20434cebca369c6bf71fdbae9ed5a157119 (patch) | |
tree | 54adb230d60ee38ecfa4ef4b447c4ec366f291dc /Source/Randomizer.cpp | |
parent | 92461067047993a828b43afe4eb79208aaae4862 (diff) | |
download | witness-tutorializer-bad7b20434cebca369c6bf71fdbae9ed5a157119.tar.gz witness-tutorializer-bad7b20434cebca369c6bf71fdbae9ed5a157119.tar.bz2 witness-tutorializer-bad7b20434cebca369c6bf71fdbae9ed5a157119.zip |
Reverted the Sigma backport memory stuff
Diffstat (limited to 'Source/Randomizer.cpp')
-rw-r--r-- | Source/Randomizer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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() { | |||
116 | 116 | ||
117 | // begin_endgame_1 - Prevent actually ending the game (Wonkavator) | 117 | // begin_endgame_1 - Prevent actually ending the game (Wonkavator) |
118 | _memory->AddSigScan({0x83, 0x7C, 0x01, 0xD0, 0x04}, [&](int index){ | 118 | _memory->AddSigScan({0x83, 0x7C, 0x01, 0xD0, 0x04}, [&](int index){ |
119 | if (Memory::GLOBALS == 0x5B28C0) { // Version differences. | 119 | if (GLOBALS == 0x5B28C0) { // Version differences. |
120 | index += 0x75; | 120 | index += 0x75; |
121 | } else if (Memory::GLOBALS == 0x62D0A0) { | 121 | } else if (GLOBALS == 0x62D0A0) { |
122 | index += 0x86; | 122 | index += 0x86; |
123 | } | 123 | } |
124 | _memory->WriteData<byte>({index}, {0xEB}); // jz -> jmp | 124 | _memory->WriteData<byte>({index}, {0xEB}); // jz -> jmp |