dolphin/Source
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
..
Android Re-run code formatting after update to Android Studio 2022.2 2022-06-20 17:41:41 +02:00
Core BS2Emu: Set HID0/1/2/4 and MSR with correct default values 2022-06-25 14:27:29 -07:00
DSPSpy DSP LLE Recompiler: Fix LOOP and BLOOP when the counter is between 0x8001 and 0xFFFF 2022-06-05 19:34:31 -07:00
DSPTool DSPTool: Exit with status 1 if binary comparison fails 2022-06-14 12:22:06 -07:00
PCH update min windows sdk to 10.0.22621 2022-06-02 15:53:29 -07:00
UnitTests UnitTests: Remove unused include from DSPAssemblyTest 2022-06-14 13:07:14 -07:00
VSProps Merge pull request #10559 from shuffle2/qt6 2022-05-08 01:29:46 -04:00
.clang-format Replace Cpp11 (A Deprecated alias for Latest) in .clang-format 2022-06-22 08:57:32 +10:00
CMakeLists.txt cmake/win: don't set _WIN32_WINNT 2022-06-02 15:56:01 -07:00
dolphin-emu.sln use fmt as static library instead of headers 2022-04-26 16:32:29 -07:00