From 746947455dc5b59ea1b16e8dde2d359d02f86ed0 Mon Sep 17 00:00:00 2001 From: Skyth <19259897+blueskythlikesclouds@users.noreply.github.com> Date: Tue, 24 Sep 2024 14:48:50 +0300 Subject: [PATCH] Push the updated PPC context header. --- PowerUtils/ppc_context.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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