diff --git a/PowerUtils/ppc_context.h b/PowerUtils/ppc_context.h index a539db5..7b23f52 100644 --- a/PowerUtils/ppc_context.h +++ b/PowerUtils/ppc_context.h @@ -3,6 +3,7 @@ #include #include #include +#include #ifdef __clang__ #include @@ -17,10 +18,11 @@ #define __builtin_unreachable() __assume(0) #endif -#define PPC_FUNC(x) extern "C" void x(PPCContext& __restrict__ ctx, uint8_t* base) noexcept +#define PPC_FUNC(x) extern "C" void x(PPCContext& __restrict__ ctx, uint8_t* base) #define PPC_FUNC_PROLOGUE() \ __builtin_assume((reinterpret_cast(base) & 0xFFFFFFFF) == 0); \ + PPCContext env; \ PPCRegister temp; \ PPCVRegister vtemp; \ uint32_t ea