diff --git a/OpenSpaceToolbox/GameManager/Games/Rayman2/Rayman2LoadingScreenRemover.cs b/OpenSpaceToolbox/GameManager/Games/Rayman2/Rayman2LoadingScreenRemover.cs index 6241c77..83665b8 100644 --- a/OpenSpaceToolbox/GameManager/Games/Rayman2/Rayman2LoadingScreenRemover.cs +++ b/OpenSpaceToolbox/GameManager/Games/Rayman2/Rayman2LoadingScreenRemover.cs @@ -18,11 +18,13 @@ public override void Action() if (processHandle < 0) return; - byte[] nopInstructions = new byte[] { 0x90, 0x90, 0x90, 0x90, 0x90}; + byte[] retBytes = new byte[] { 0xC3 }; - GameManager.WriteBytes(nopInstructions, 0x45F85E); - GameManager.WriteBytes(nopInstructions, 0x4508F0); - GameManager.WriteBytes(nopInstructions, 0x4043D6); + GameManager.WriteBytes(retBytes, 0x45F7E0); + GameManager.WriteBytes(retBytes, 0x45F530); + GameManager.WriteBytes(retBytes, 0x45EED0); + GameManager.WriteBytes(retBytes, 0x45EDF0); + GameManager.WriteBytes(retBytes, 0x45EE10); } } } \ No newline at end of file