From 73444bda5eb95fb314cde1012a40e86c845ec669 Mon Sep 17 00:00:00 2001 From: Dethrace Labs <78985374+dethrace-labs@users.noreply.github.com> Date: Wed, 3 Dec 2025 12:39:01 +1300 Subject: [PATCH] SoundTimeout matching --- src/DETHRACE/common/piping.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/DETHRACE/common/piping.c b/src/DETHRACE/common/piping.c index f50db0a9..1de2a1ad 100644 --- a/src/DETHRACE/common/piping.c +++ b/src/DETHRACE/common/piping.c @@ -2247,7 +2247,8 @@ int CheckSound(tPipe_chunk* pChunk_ptr, int pChunk_count, tU32 pTime) { // IDA: int __usercall SoundTimeout@(tU32 pTime@) // FUNCTION: CARM95 0x0042c132 int SoundTimeout(tU32 pTime) { - NOT_IMPLEMENTED(); + + return gYoungest_time < pTime || gYoungest_time - pTime < gLast_time; } // IDA: void __usercall ScanAndPlaySoundsToBe(tU8 *pPtr@, tU32 pOldest_time@, tU32 pYoungest_time@)