From c0a2b8e8bd6e1aa5da662a577aa5c62a922c6c80 Mon Sep 17 00:00:00 2001 From: Dethrace Labs <78985374+dethrace-labs@users.noreply.github.com> Date: Thu, 27 Nov 2025 13:25:52 +1300 Subject: [PATCH] SomeReplayLeft matching --- src/DETHRACE/common/piping.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DETHRACE/common/piping.c b/src/DETHRACE/common/piping.c index 6e44e370..ff5ebee0 100644 --- a/src/DETHRACE/common/piping.c +++ b/src/DETHRACE/common/piping.c @@ -216,7 +216,7 @@ int IsActionReplayAvailable(void) { // FUNCTION: CARM95 0x004280a1 int SomeReplayLeft(void) { - return ((GetReplayDirection() >= 1 && gPipe_play_ptr != gPipe_record_ptr) || (GetReplayDirection() <= -1 && gPipe_play_ptr != gPipe_buffer_oldest)); + return ((GetReplayDirection() > 0 && gPipe_play_ptr != gPipe_record_ptr) || (GetReplayDirection() < 0 && gPipe_play_ptr != gPipe_buffer_oldest)); } // IDA: void __cdecl DisablePipedSounds()