IOS: Adjust reply timing to be closer to real hardware
This commit is contained in:
1 parent
2ce7fff819
commit
a663fcb977
1 file changed
+2
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user