From a663fcb977526679df17f5de17634a7839e722ae Mon Sep 17 00:00:00 2001 From: Sepalani Date: Sun, 11 Feb 2018 18:38:59 +0100 Subject: [PATCH] IOS: Adjust reply timing to be closer to real hardware --- Source/Core/Core/IOS/Device.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/Core/IOS/Device.cpp b/Source/Core/Core/IOS/Device.cpp index 467ce5cfd1..391c300607 100644 --- a/Source/Core/Core/IOS/Device.cpp +++ b/Source/Core/Core/IOS/Device.cpp @@ -184,10 +184,10 @@ IPCCommandResult Device::Unsupported(const Request& request) return GetDefaultReply(IPC_EINVAL); } -// Returns an IPCCommandResult for a reply that takes 250 us (arbitrarily chosen value) +// Returns an IPCCommandResult for a reply that takes 25 us (based on ES::GetTicketViews) IPCCommandResult Device::GetDefaultReply(const s32 return_value) { - return {return_value, true, SystemTimers::GetTicksPerSecond() / 4000}; + return {return_value, true, SystemTimers::GetTicksPerSecond() / 40000}; } // Returns an IPCCommandResult with no reply. Useful for async commands that will generate a reply