no ENT_SP_GC if profiler is not supported

This commit is contained in:
vylsaz 2024-06-04 06:04:08 +00:00
parent 8044c560a4
commit 2a57022ccb

View File

@ -1663,7 +1663,7 @@ bool profiler_alloc() {
bool profiler_start(i32 mode, i64 hz) { return false; }
bool profiler_stop() { return false; }
void profiler_free() { thrM("Profiler not supported"); }
usz profiler_getResults(B* compListRes, B* mapListRes, u64 specialResults[ENT_SP_END], bool keyPath) { thrM("Profiler not supported"); }
usz profiler_getResults(B* compListRes, B* mapListRes, u64 specialResults[], bool keyPath) { thrM("Profiler not supported"); }
void profiler_displayResults() { thrM("Profiler not supported"); }
#endif