dolphin/Source/Core
Léo Lam fa89614b07 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
2018-03-16 18:51:07 +01:00
..
AudioCommon Assert: Uppercase assertion macros 2018-03-14 22:03:12 -04:00
Common Assert: Remove unused parameter from DEBUG_ASSERT 2018-03-16 13:01:11 -04:00
Core IOS: Adjust IPC timing based on hardware tests 2018-03-16 18:51:07 +01:00
DiscIO Assert: Remove unused parameter from DEBUG_ASSERT 2018-03-16 13:01:11 -04:00
DolphinNoGUI Renderer: Handle resize events on-demand instead of polling 2018-02-20 01:15:55 +10:00
DolphinQt2 Properties/GameConfig: Remove "Skip DCBZ" 2018-03-15 20:33:01 +01:00
DolphinWX Assert: Uppercase assertion macros 2018-03-14 22:03:12 -04:00
InputCommon Assert: Uppercase assertion macros 2018-03-14 22:03:12 -04:00
UICommon Assert: Uppercase assertion macros 2018-03-14 22:03:12 -04:00
VideoBackends Assert: Remove unused parameter from DEBUG_ASSERT 2018-03-16 13:01:11 -04:00
VideoCommon Assert: Uppercase assertion macros 2018-03-14 22:03:12 -04:00
CMakeLists.txt Moved NoGUI out of DolphinWx. 2017-03-08 01:24:18 -08:00