Files
UnleashedRecomp-hedge-dev/UnleashedRecomp/cpu/ppc_context.h
2024-09-30 13:45:09 +06:00

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;
}