fixed code

This commit is contained in:
Blu3train 2023-10-29 23:27:31 +01:00
parent 2e691d482e
commit 9c6383d991

View File

@ -7,8 +7,13 @@
#include "engine.h" #include "engine.h"
#include "util.h" #include "util.h"
#define XX2 XX,XX // WORD
#define XX4 XX2,XX2 // DWORD
#define XX8 XX4,XX4 // QWORD
namespace Engine namespace Engine
{ {
enum : DWORD { X64_MAX_REL_ADDR = 0x00300000 };
/** Artikash 6/7/2019 /** Artikash 6/7/2019
* PPSSPP JIT code has pointers, but they are all added to an offset before being used. * PPSSPP JIT code has pointers, but they are all added to an offset before being used.
Find that offset so that hook searching works properly. Find that offset so that hook searching works properly.