mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-01-05 19:19:43 -06:00
16 lines
259 B
C
16 lines
259 B
C
#pragma once
|
|
#include "ppc/ppc_context.h"
|
|
#include "ppc/ppc_recomp_shared.h"
|
|
|
|
inline thread_local PPCContext* gPPCContext;
|
|
|
|
inline PPCContext* GetPPCContext()
|
|
{
|
|
return gPPCContext;
|
|
}
|
|
|
|
inline void SetPPCContext(PPCContext& ctx)
|
|
{
|
|
gPPCContext = &ctx;
|
|
}
|