Skip to content

Commit 47836f2

Browse files
committed
oops, spdefault uses address bounds
1 parent 360254d commit 47836f2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

texthook/engine/engine.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20749,7 +20749,8 @@ bool InsertTecmoPSPHook()
2074920749
bool InsertPCSX2Hooks()
2075020750
{
2075120751
memcpy(spDefault.pattern, Array<BYTE>{ 0x89, 0xc8, 0xc1, 0xe8, 0x0c }, spDefault.length = 5);
20752-
*spDefault.boundaryModule = 0;
20752+
spDefault.minAddress = 0;
20753+
spDefault.maxAddress = -1ULL;
2075320754
spDefault.offset = 0;
2075420755
spDefault.searchTime = 60'000;
2075520756
spDefault.maxRecords = 500'000;

0 commit comments

Comments
 (0)