From c2879e735c98dbaa2d7f5534b5961aae79d6940d Mon Sep 17 00:00:00 2001 From: PJB3005 Date: Mon, 16 Mar 2026 23:35:57 +0100 Subject: [PATCH] Disable JASAiCtrl safety kill code Doesn't work properly and causes weird behavior --- libs/JSystem/src/JAudio2/JASAiCtrl.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libs/JSystem/src/JAudio2/JASAiCtrl.cpp b/libs/JSystem/src/JAudio2/JASAiCtrl.cpp index fd9446932d..1285d68359 100644 --- a/libs/JSystem/src/JAudio2/JASAiCtrl.cpp +++ b/libs/JSystem/src/JAudio2/JASAiCtrl.cpp @@ -152,6 +152,8 @@ void JASDriver::updateDSP() { JASPortCmd::execAllCommand(); DSPSyncCallback(); +#if !TARGET_PC + // Safety kill code? Our audio engine isn't consistent enough and hits this incorrectly. static u32 old_time = 0; static u32 history[10] = {0x000F4240}; u32 r28 = OSGetTick(); @@ -172,6 +174,7 @@ void JASDriver::updateDSP() { JASDSPChannel::killActiveChannel(); #endif } +#endif JASChannel::receiveBankDisposeMsg(); JASDSPChannel::updateAll();