dolphin/Source/Core
JosJuice 8749855643 Call JitInterface::UpdateMembase from PowerPC::MSRUpdated
When the interpreter calls MSRUpdated, we should update the membase
variable. Not because the interpreter itself needs it, but because the
JIT needs it if it's falling back to the interpreter for an instruction
that sets the MSR.

Additionally, the JIT's FallBackToInterpreter needs to read back the new
membase value afterwards.

This fixes games crashing on JitArm64 if mtmsr is set to fall back to
interpreter. I was unable to reproduce the issue on Jit64, presumably
due to a fortunate series of coincidences (instructions that set MSR are
always followed by an exception exit, and
PowerPCManager::CheckExternalExceptions was always calling
JitInterface::UpdateMembase, and Jit64::WriteExceptionExit was always
calling Jit64::EmitUpdateMembase.)
2025-11-02 21:18:07 +01:00
..
AudioCommon Merge pull request #13725 from Sam-Belliveau/more-consistent-looping 2025-08-05 20:02:58 -04:00
Common Merge pull request #14034 from JoshuaVandaele/byeprofile 2025-11-01 10:05:11 +01:00
Core Call JitInterface::UpdateMembase from PowerPC::MSRUpdated 2025-11-02 21:18:07 +01:00
DiscIO MMU: Use templates for Read/Write functions 2025-10-08 11:27:06 +02:00
DolphinNoGUI Visual Studio: Fix DolphinNoGUI build 2025-10-05 15:38:43 -07:00
DolphinQt Call JitInterface::UpdateMembase from PowerPC::MSRUpdated 2025-11-02 21:18:07 +01:00
DolphinTool Externals / VideoCommon: update glslang to latest, turn into submodule 2025-09-23 23:45:38 -05:00
InputCommon Merge pull request #13963 from jordan-woyak/point-passthru-needs-bound-inputs 2025-10-09 14:05:16 -04:00
MacUpdater
UICommon UICommon.cpp: Revert changes from #13866 2025-10-29 09:56:39 +01:00
UpdaterCommon
VideoBackends Merge pull request #14031 from TellowKrinkle/GlslangFix 2025-10-26 15:42:36 -05:00
VideoCommon Merge pull request #14057 from TellowKrinkle/VkRenderWrongLayout 2025-11-01 10:06:41 +01:00
WinUpdater
CMakeLists.txt
DolphinLib.ARM64.props
DolphinLib.props Core/HW: Add Broadband Adapter (IPC). 2025-10-28 18:50:59 +00:00
DolphinLib.vcxproj Core/HW: Add Broadband Adapter (IPC). 2025-10-28 18:50:59 +00:00
DolphinLib.vcxproj.user
DolphinLib.x64.props
VersionInfo.plist.in