mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-27 15:44:12 +08:00
.
This commit is contained in:
parent
30258ef809
commit
6591fc85a6
@ -32,7 +32,6 @@ namespace PPSSPP
|
||||
#ifndef _WIN64
|
||||
BYTE sig[] = {0xb9, XX4};
|
||||
*(uintptr_t *)(sig + 1) = addr;
|
||||
bool succ = ;
|
||||
for (auto addr : Util::SearchMemory(sig, sizeof(sig), PAGE_EXECUTE, processStartAddress, processStopAddress))
|
||||
{
|
||||
BYTE sig1[] = {
|
||||
|
@ -472,13 +472,13 @@ void SearchForHooks(SearchParam spUser)
|
||||
}
|
||||
ConsoleOutput("%p %p",minemaddr,maxemaddr);
|
||||
ConsoleOutput("%p %p",sp.minAddress,sp.maxAddress);
|
||||
if(0){
|
||||
#if 0
|
||||
auto f=fopen("1.txt","a");
|
||||
for(auto addr:jitaddr2emuaddr){
|
||||
fprintf(f,"%llx => %llx\n", addr.second.second ,addr.first);
|
||||
}
|
||||
fclose(f);
|
||||
}
|
||||
#endif
|
||||
for(auto addr:jitaddr2emuaddr){
|
||||
//ConsoleOutput("%llx => %p", addr.second.second ,addr.first);
|
||||
if(addr.second.second>sp.maxAddress||addr.second.second<sp.minAddress)continue;
|
||||
|
Loading…
x
Reference in New Issue
Block a user