From 47836f20f3065e97cd4ed1674fa74120d6c8c47a Mon Sep 17 00:00:00 2001 From: Akash Mozumdar Date: Sun, 1 Mar 2020 06:04:22 -0700 Subject: [PATCH] oops, spdefault uses address bounds --- texthook/engine/engine.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/texthook/engine/engine.cc b/texthook/engine/engine.cc index d85737b..7e5cd9a 100644 --- a/texthook/engine/engine.cc +++ b/texthook/engine/engine.cc @@ -20749,7 +20749,8 @@ bool InsertTecmoPSPHook() bool InsertPCSX2Hooks() { memcpy(spDefault.pattern, Array{ 0x89, 0xc8, 0xc1, 0xe8, 0x0c }, spDefault.length = 5); - *spDefault.boundaryModule = 0; + spDefault.minAddress = 0; + spDefault.maxAddress = -1ULL; spDefault.offset = 0; spDefault.searchTime = 60'000; spDefault.maxRecords = 500'000;