Files
PS2Recomp/ps2xTest/gs_cache/gs_cache_runtime_stubs.cpp
ArzarothandClaude Opus 5.5 a5e98efb9b [sc3/bringup] test(gs): GS cache suites link against stubs for the EE clock, GS event and VIF1 worker hooks
gs_frontend.cpp calls ps2CurrentEeCycle, ps2ScheduleGsInterruptCheck,
ps2GsPostEvent and ps2OnVif1WorkerClock; ps2_gs_clut_cache_tests failed
to link without them.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-26 20:29:27 +01:00

10 lines
447 B
C++

// The GS sources under test call into the runtime on SIGNAL/FINISH edges (ps2_runtime.cpp); these suites link the
// GS alone.
void ps2NotifyGsCsrEdge() {}
#include "runtime/ps2_memory.h"
uint64_t ps2CurrentEeCycle() { return 0u; }
bool ps2ScheduleGsInterruptCheck(uint64_t) { return false; }
bool ps2OnVif1WorkerClock() { return false; }
uint32_t ps2GsPostEvent(GSRegisters &, GsCpuEvent, uint32_t, uint32_t, uint64_t, uint64_t) { return 0u; }