summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon
diff options
context:
space:
mode:
authorLéo Lam <leo@innovatetechnologi.es>2018-02-25 23:51:06 +0100
committerLéo Lam <leo@innovatetechnologi.es>2018-03-16 18:51:07 +0100
commitfa89614b076174e23aab747a229ae0cd5f736f9d (patch)
tree4aec6697ce72e8730e9d22f79c8d986f9283d999 /Source/Core/VideoCommon
parent76eee7095ed5de07f2c9cf1394075c7480d0ce40 (diff)
IOS: Adjust IPC timing based on hardware tests
This adjusts IOS IPC timing to be closer to actual hardware: * Emulate the IPC interrupt delay. On a real Wii, from the point of view of the PPC, the IPC interrupt appears to fire about 100 TB ticks after Y1/Y2 is seen. * Fix the IPC acknowledgement delay. Dolphin was much, much too fast. * Fix Device::GetDefaultReply to return more reasonable delays. Again, Dolphin was way too fast. We now use a more realistic, average reply time for most requests. Note: the previous result from https://dolp.in/pr6374 is flawed. GetTicketViews definitely takes more than 25µs to reply. The reason the reply delay was so low is because an invalid parameter was passed to the libogc wrapper, which causes it to immediately return an error code (-4100). * Fix the response delay for various replies that come from the kernel: fd table full, unknown resource manager / device, invalid fd, unknown IPC command. Source: https://github.com/leoetlino/hwtests/blob/af320e4/iostest/ipc_timing.cpp
Diffstat (limited to 'Source/Core/VideoCommon')
0 files changed, 0 insertions, 0 deletions