mirror of
https://github.com/SpeedBreakerProject/speedbreaker.git
synced 2026-10-17 16:02:21 +02:00
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
16 lines
331 B
C
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;
|
|
}
|