dolphin/Source/Core/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
..
Boot Optionally delete savestate that gets loaded at boot 2017-12-28 23:15:48 +01:00
Config ShaderCache: Implement background shader compilation 2018-03-10 16:11:19 +10:00
ConfigLoaders ShaderCache: Implement background shader compilation 2018-03-10 16:11:19 +10:00
Debugger Changed PPCDebugInterace to check memory only after the emulator has finished starting 2018-01-12 15:18:29 -08:00
DSP Assert: Uppercase assertion macros 2018-03-14 22:03:12 -04:00
FifoPlayer Assert: Uppercase assertion macros 2018-03-14 22:03:12 -04:00
HLE Assert: Uppercase assertion macros 2018-03-14 22:03:12 -04:00
HW IOS: Adjust IPC timing based on hardware tests 2018-03-16 18:51:07 +01:00
IOS IOS: Adjust IPC timing based on hardware tests 2018-03-16 18:51:07 +01:00
PowerPC Assert: Remove unused parameter from DEBUG_ASSERT 2018-03-16 13:01:11 -04:00
ActionReplay.cpp
ActionReplay.h
Analytics.cpp VideoConfig: Collapse ubershader configuration fields to a single value 2018-03-10 15:56:45 +10:00
Analytics.h
ARDecrypt.cpp
ARDecrypt.h
BootManager.cpp Redesign the ability to load state at boot 2017-12-26 20:39:03 +01:00
BootManager.h
CMakeLists.txt DSPCore: Move x64 JIT source files into an x64 subdirectory 2018-03-13 18:26:26 -04:00
CommonTitles.h CommonTitles: Add a named constant for IOS TIDs 2017-10-24 11:41:55 +02:00
ConfigManager.cpp Assert: Uppercase assertion macros 2018-03-14 22:03:12 -04:00
ConfigManager.h Remove "Force Console as NTSC-J" 2017-11-06 08:23:30 +01:00
Core.cpp Remove hardcoded esc hotkey, make pause/stop hotkey actually toggle rather than just pausing, fix frame advance hotkey 2018-02-10 23:30:59 +11:00
Core.h Redesign the ability to load state at boot 2017-12-26 20:39:03 +01:00
Core.vcxproj DSPCore: Move x64 JIT source files into an x64 subdirectory 2018-03-13 18:26:26 -04:00
Core.vcxproj.filters DSPCore: Move x64 JIT source files into an x64 subdirectory 2018-03-13 18:26:26 -04:00
CoreTiming.cpp Assert: Uppercase assertion macros 2018-03-14 22:03:12 -04:00
CoreTiming.h
DSPEmulator.cpp
DSPEmulator.h
GeckoCode.cpp
GeckoCode.h
GeckoCodeConfig.cpp
GeckoCodeConfig.h
Host.h
HotkeyManager.cpp Merge pull request #6166 from ligfx/invokedeviceschangedcallbacks 2017-12-15 21:05:17 +01:00
HotkeyManager.h Add 'immediate xfb' which reduces xfb latency at the cost of graphical errors 2017-11-17 22:11:30 -06:00
MachineContext.h
MemoryWatcher.cpp Don't use wrong encoding for paths when opening streams on Windows 2017-12-05 21:23:35 +01:00
MemoryWatcher.h
MemTools.cpp
MemTools.h
Movie.cpp Assert: Uppercase assertion macros 2018-03-14 22:03:12 -04:00
Movie.h Redesign the ability to load state at boot 2017-12-26 20:39:03 +01:00
NetPlayClient.cpp Add GCPadStatus.isConnected boolean 2017-11-19 16:01:08 +01:00
NetPlayClient.h
NetPlayProto.h
NetPlayServer.cpp Add GCPadStatus.isConnected boolean 2017-11-19 16:01:08 +01:00
NetPlayServer.h
PatchEngine.cpp Assert: Remove unused parameter from DEBUG_ASSERT 2018-03-16 13:01:11 -04:00
PatchEngine.h
State.cpp Fix emulated Wiimotes 2018-02-20 20:41:29 +01:00
State.h
TitleDatabase.cpp When NAND is damaged, show title names from save files 2017-11-03 23:17:36 +01:00
TitleDatabase.h When NAND is damaged, show title names from save files 2017-11-03 23:17:36 +01:00
WiiRoot.cpp
WiiRoot.h
WiiUtils.cpp Assert: Uppercase assertion macros 2018-03-14 22:03:12 -04:00
WiiUtils.h Unify ISOFile (wx) with GameFile (Qt) and put it in UICommon 2018-03-09 13:08:38 +01:00