From 9c48f35fc5431df035308bbaf8ffdf3a16df30c5 Mon Sep 17 00:00:00 2001 From: Demur Rumed Date: Thu, 5 Jun 2025 02:54:45 +0000 Subject: [PATCH] avoid decrementing timer to 0, which with BgMizu can cause timer to go below 0 & break --- soh/soh/Enhancements/SwitchTimerMultiplier.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/soh/soh/Enhancements/SwitchTimerMultiplier.cpp b/soh/soh/Enhancements/SwitchTimerMultiplier.cpp index 3b679cf1a..65b12947b 100644 --- a/soh/soh/Enhancements/SwitchTimerMultiplier.cpp +++ b/soh/soh/Enhancements/SwitchTimerMultiplier.cpp @@ -13,7 +13,7 @@ void RegisterSwitchTimerMultiplier() { *should = false; } else if (gPlayState->gameplayFrames % (6 + multiplier) == 0) { s16* timer = va_arg(args, s16*); - *timer -= *timer > 0; + *timer -= *timer > 1; } } });