diff options
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 |
