From 220c65a6e2c90c00d44c99d38bb6a116316fb16f Mon Sep 17 00:00:00 2001 From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com> Date: Wed, 15 Mar 2023 00:24:40 +0100 Subject: [PATCH] Fix RTech::OpenFile for S2 Fix incorrect offset to RTech::OpenFile. --- r5dev/common/opcodes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/r5dev/common/opcodes.cpp b/r5dev/common/opcodes.cpp index 039970b7..79737c09 100644 --- a/r5dev/common/opcodes.cpp +++ b/r5dev/common/opcodes.cpp @@ -376,7 +376,7 @@ void RuntimePtc_Init() /* .TEXT */ #elif defined (GAMEDLL_S1) 0xE8, 0x27, 0x95, 0xFF, 0xFF, #elif defined (GAMEDLL_S2) - 0xE8, 0x97, 0x95, 0xFF, 0xFF, + 0xE8, 0x87, 0x95, 0xFF, 0xFF, #elif defined (GAMEDLL_S3) 0xE8, 0x77, 0x8F, 0xFF, 0xFF, #endif