oops, spdefault uses address bounds

This commit is contained in:
Akash Mozumdar 2020-03-01 06:04:22 -07:00
parent 360254d5bf
commit 47836f20f3

View File

@ -20749,7 +20749,8 @@ bool InsertTecmoPSPHook()
bool InsertPCSX2Hooks() bool InsertPCSX2Hooks()
{ {
memcpy(spDefault.pattern, Array<BYTE>{ 0x89, 0xc8, 0xc1, 0xe8, 0x0c }, spDefault.length = 5); memcpy(spDefault.pattern, Array<BYTE>{ 0x89, 0xc8, 0xc1, 0xe8, 0x0c }, spDefault.length = 5);
*spDefault.boundaryModule = 0; spDefault.minAddress = 0;
spDefault.maxAddress = -1ULL;
spDefault.offset = 0; spDefault.offset = 0;
spDefault.searchTime = 60'000; spDefault.searchTime = 60'000;
spDefault.maxRecords = 500'000; spDefault.maxRecords = 500'000;