From 34a37cc30d68749380411bf9247b36025463d8ca Mon Sep 17 00:00:00 2001 From: JosJuice Date: Sat, 20 Dec 2014 21:44:22 +0100 Subject: [PATCH] WII_IPC_HLE: Fix timing weirdness The reply delay of a command shouldn't be ignored just because the previous command isn't done yet. DI is way too fast without this change. --- Source/Core/Core/IPC_HLE/WII_IPC_HLE.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Core/IPC_HLE/WII_IPC_HLE.cpp b/Source/Core/Core/IPC_HLE/WII_IPC_HLE.cpp index 178850b42f..2f5de7e188 100644 --- a/Source/Core/Core/IPC_HLE/WII_IPC_HLE.cpp +++ b/Source/Core/Core/IPC_HLE/WII_IPC_HLE.cpp @@ -529,7 +529,7 @@ void ExecuteCommand(u32 _Address) // Ensure replies happen in order const s64 ticks_until_last_reply = last_reply_time - CoreTiming::GetTicks(); if (ticks_until_last_reply > 0) - result.reply_delay_ticks = ticks_until_last_reply; + result.reply_delay_ticks += ticks_until_last_reply; last_reply_time = CoreTiming::GetTicks() + result.reply_delay_ticks; if (result.send_reply)