dolphin/Source/Core
Pokechu22 b2ddffeeb1 BS2Emu: Set HID0/1/2/4 and MSR with correct default values
These values were obtained by setting a breakpoint at a game's entry point, and then observing the register values with Dolphin's register widget.

There are other registers that aren't handled by this PR, including CR, XER, SRR0, SRR1, and "Int Mask" (as well as most of the GPRs). They could be added in a later PR if it turns out that their values matter, but probably most of them don't.

This fixes Datel titles booting with the IPL skipped (see https://bugs.dolphin-emu.org/issues/8223), though when booted this way they are currently missing textures. Due to somewhat janky code, Datel overwrites the syscall interrupt handler and then immediately triggers it (with the `sc` instruction) before they restore the correct one. This works on real hardware due to icache, and also works in Dolphin when the IPL runs due to icache, but prior to this change `HID0.ICE` defaulted to 0 so icache was not enabled when the IPL was skipped.
2022-06-25 14:27:29 -07:00
..
AudioCommon have audio dumps apply volume (fixes cases of audio dumps being "too loud" and in game audio controls having no effect) 2022-06-10 21:27:10 -07:00
Common windows: detect and warn if running x64 dolphin on arm64 2022-06-22 15:33:12 -07:00
Core BS2Emu: Set HID0/1/2/4 and MSR with correct default values 2022-06-25 14:27:29 -07:00
DiscIO Merge pull request #10743 from tellowkrinkle/LargeBlockRVZ 2022-06-14 16:17:24 -04:00
DolphinNoGUI cmake: Don't use PCH with Qt6. 2022-05-22 01:19:44 +02:00
DolphinQt msbuild: add pch for dolphinqt 2022-06-21 13:35:14 -07:00
DolphinTool cmake: Don't use PCH with Qt6. 2022-05-22 01:19:44 +02:00
InputCommon Merge pull request #10729 from Pokechu22/libusb-error-wrap 2022-06-17 16:01:46 +02:00
MacUpdater CMakeLists: Replace tab characters with spaces 2022-01-16 15:20:40 -08:00
UICommon Merge pull request #10729 from Pokechu22/libusb-error-wrap 2022-06-17 16:01:46 +02:00
UpdaterCommon cmake: Don't use PCH with Qt6. 2022-05-22 01:19:44 +02:00
VideoBackends VideoCommon: Fix SSBO layout and remove associated "bug" 2022-06-16 20:26:11 -05:00
VideoCommon Merge pull request #10752 from tellowkrinkle/BetterShaderNames 2022-06-24 15:50:48 -07:00
WinUpdater cmake: Don't use PCH with Qt6. 2022-05-22 01:19:44 +02:00
CMakeLists.txt CMakeLists: Add option to disable automatic update support 2022-03-18 03:04:51 -04:00
DolphinLib.ARM64.props msbuild: use default Project attrs 2022-04-27 15:26:43 -07:00
DolphinLib.props DSPHLE: Add HLE version of libasnd ucode 2022-06-23 10:50:24 -07:00
DolphinLib.vcxproj msbuild: use default Project attrs 2022-04-27 15:26:43 -07:00
DolphinLib.vcxproj.user msbuild: use default Project attrs 2022-04-27 15:26:43 -07:00
DolphinLib.x64.props msbuild: use default Project attrs 2022-04-27 15:26:43 -07:00