diff --git a/core/compat/vita/popspatch.c b/core/compat/vita/popspatch.c index e87d88207..b7bd62c4e 100644 --- a/core/compat/vita/popspatch.c +++ b/core/compat/vita/popspatch.c @@ -2,6 +2,7 @@ #include #include #include "popspatch.h" +#include "functions.h" #define PSP_SPU_REGISTER 0x49F40000 @@ -126,28 +127,74 @@ void patchPspPopsman(SceModule2* mod){ u32 text_addr = mod->text_addr; u32 top_addr = text_addr + mod->text_size; + for (u32 addr=text_addr; addr