From 54cb41c4db6aee0c347835490405bd19f97f6c20 Mon Sep 17 00:00:00 2001 From: Sajid Date: Mon, 30 Sep 2024 20:41:32 +0600 Subject: [PATCH] Recompiler: Fix accidental impl linkage --- PowerUtils/ppc_context.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PowerUtils/ppc_context.h b/PowerUtils/ppc_context.h index 0c169f7..ec96126 100644 --- a/PowerUtils/ppc_context.h +++ b/PowerUtils/ppc_context.h @@ -19,7 +19,7 @@ #define PPC_STRINGIFY(x) PPC_XSTRINGIFY(x) #define PPC_FUNC(x) void x(PPCContext& __restrict ctx, uint8_t* base) #define PPC_FUNC_IMPL(x) extern "C" PPC_FUNC(x) -#define PPC_EXTERN_FUNC(x) extern "C" PPC_FUNC(x) +#define PPC_EXTERN_FUNC(x) extern PPC_FUNC(x) #define PPC_WEAK_FUNC(x) __attribute__((weak,noinline)) PPC_FUNC(x) #define PPC_FUNC_PROLOGUE() __builtin_assume(((size_t)base & 0xFFFFFFFF) == 0)