dolphin/Source/Core
Michael Maltese 43c09c63d8 AX-HLE: delay sending interrupt when done processing command list
Fixes https://bugs.dolphin-emu.org/issues/10265 (Star Wars: The Clone
Wars hangs on loading screen with DSP-HLE and JIT Recompiler).

The Clone Wars hangs upon initial boot if this interrupt happens too
quickly after submitting a command list. When played in DSP-LLE, the
interrupt lags by about 160,000 cycles, though any value greater than or
equal to 814 will work. In other games, the lag can be as small as 50,000
cycles (in Metroid Prime) and as large as 718,092 cycles (in Tales of
Symphonia!).

All credit to @hthh, who put in a heroic(!) amount of detective work and
discovered that The Clone Wars tracks a "AXCommandListCycles" variable
which matches the aforementioned 160,000 cycles. It's initialized to ~2500
cycles for a minimal, empty command list, so that should be a safe number
for pretty much anything a game does (*crosses fingers*).
2017-05-19 19:04:06 -07:00
..
AudioCommon DPL2Decoder: Prefer static_cast to C-style casts 2017-04-23 09:21:30 +01:00
Common Drop remnants of the plugin system 2017-05-19 19:13:16 +02:00
Core AX-HLE: delay sending interrupt when done processing command list 2017-05-19 19:04:06 -07:00
DiscIO Replace some usages of IVolume::ReadSwapped with IBlobReader::ReadSwapped 2017-05-19 21:31:47 +02:00
DolphinNoGUI Host: Get rid of Host_SetStartupDebuggingParameters() 2017-05-14 19:12:59 -04:00
DolphinQt2 DiscIO: Remove VolumeCreator 2017-05-19 18:33:21 +02:00
DolphinWX Merge pull request #5445 from JosJuice/remove-jitil 2017-05-19 21:33:38 -04:00
InputCommon Merge pull request #5345 from JosJuice/consistent-controller-translation 2017-05-04 09:00:41 -07:00
UICommon Reuse the IOS code for WAD installation 2017-05-14 15:30:42 +02:00
VideoBackends Remove D3D12 2017-05-18 17:01:12 -07:00
VideoCommon Remove D3D12 2017-05-18 17:01:12 -07:00
CMakeLists.txt Moved NoGUI out of DolphinWx. 2017-03-08 01:24:18 -08:00