From 1ea7e28b10d37c59b4cb9d046a07c079f66f4357 Mon Sep 17 00:00:00 2001 From: Matthew Stanley <1379tech@gmail.com> Date: Tue, 21 Jul 2026 22:37:43 -0700 Subject: [PATCH] runtime: fix debug cycle throttle symbols --- runtime/src/psx_cycles.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/runtime/src/psx_cycles.c b/runtime/src/psx_cycles.c index 39c34850..72cbe9b4 100644 --- a/runtime/src/psx_cycles.c +++ b/runtime/src/psx_cycles.c @@ -289,14 +289,14 @@ void psx_advance_cycles_slow(uint32_t cycles) { } #endif #if STARVATION_RING_ENABLED - s_watchdog_throttle += cycles; - if (s_watchdog_throttle >= 65536u) { - s_watchdog_throttle = 0; + psx_watchdog_throttle += cycles; + if (psx_watchdog_throttle >= 65536u) { + psx_watchdog_throttle = 0; starvation_watchdog_check(); } - s_pc_sample_throttle += cycles; - if (s_pc_sample_throttle >= 1048576u) { - s_pc_sample_throttle = 0; + psx_pc_sample_throttle += cycles; + if (psx_pc_sample_throttle >= 1048576u) { + psx_pc_sample_throttle = 0; psx_cycles_pc_sample_fire(); } #endif