From 2f59dec8b78f9213846adc33dc92deb42f151299 Mon Sep 17 00:00:00 2001 From: dzaima Date: Sat, 22 Apr 2023 01:27:46 +0300 Subject: [PATCH] fix fallback profiler_start signature --- src/vm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vm.c b/src/vm.c index 3269120d..9f09b247 100644 --- a/src/vm.c +++ b/src/vm.c @@ -1639,7 +1639,7 @@ bool profiler_alloc() { printf("Profiler not supported\n"); return false; } -bool profiler_start(i64 hz) { return false; } +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, bool keyPath) { thrM("Profiler not supported"); }