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@)