Files
SpeedBreakerProject--speedb…/runtime/cpu/ppc_context.h
T
2026-10-08 13:25:54 +00:00

16 lines
331 B
C

// Adapted from Unleashed Recompiled (https://github.com/hedge-dev/UnleashedRecomp),
// GPL-3.0-or-later. Modified for SpeedBreaker.
#pragma once
inline thread_local PPCContext* g_ppcContext;
inline PPCContext* GetPPCContext()
{
return g_ppcContext;
}
inline void SetPPCContext(PPCContext& ctx)
{
g_ppcContext = &ctx;
}