mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2025-12-31 00:10:26 -06:00
14 lines
195 B
C
14 lines
195 B
C
#pragma once
|
|
|
|
inline thread_local PPCContext* gPPCContext;
|
|
|
|
inline PPCContext* GetPPCContext()
|
|
{
|
|
return gPPCContext;
|
|
}
|
|
|
|
inline void SetPPCContext(PPCContext& ctx)
|
|
{
|
|
gPPCContext = &ctx;
|
|
}
|