Cpu: add option to force all exclusive memory accesses to be ordered on AppleHv.

This MR introduces an option in the CPU settings to force all exclusive memory accesses to be ordered on AppleHv.

Some games like BOTW and Splatoon 2 do not work with Hypervisor enabled.

This appears to be due to differences between Switch CPU memory ordering and the standard ARM spec[1], which causes softlocks and crashes.

gdkchan had to revert that PR[2], because there were reports of increased freezing that was happening at that time with Hypervisor.

There were people back then who wanted this brought back, so with this option it can be enabled only for affected games.

  1. https://web.archive.org/web/20231107042427/https://github.com/Ryujinx/Ryujinx/pull/5898
  2. https://web.archive.org/web/20240110165917/https://github.com/Ryujinx/Ryujinx/pull/6068

Merge request reports

Loading