diff options
| author | cristian64 <cristian64@gmail.com> | 2026-09-15 20:53:31 +0100 |
|---|---|---|
| committer | cristian64 <cristian64@gmail.com> | 2026-09-15 20:53:31 +0100 |
| commit | 2039b5524e7c975de1404ca02241f531b30aa38f (patch) | |
| tree | 52272a8149db3039564c5049b51ffc6b884644d7 /Source/Core/InputCommon/ControllerInterface/Xlib | |
| parent | 9611279be550ee262f30b7b0d11f92a0d5fc08f5 (diff) | |
Core: Fix RAM override setup in IOS.
This is a correction for 0cab1731d6 (part of #14665), where it was
overlooked that the condition to enable the RAM override was flawed: if
the user had enabled the emulated memory size override in Dolphin, but
the running game did not define a simulated memory size greater than the
retail memory size, the RAM override in IOS was wrongly misconfigured,
causing issues with Wii games.
Test plan:
- Launch Dolphin.
- In the **Settings > Advanced** section, tick the **Enable Emulated
Memory Size Override** check box, and set the maximum memory size for
both **MEM1** and **MEM2** (i.e. 64 MiB and 128 MiB respectively).
- Play any Wii game (e.g. _Mario Kart Wii_ (RMCE01)).
**Without** the patch, the emulator will hit an invalid read from
`0x83FEE78C` at `0x8019FE6C`:
<img alt="Invalid read when starting Wii game after having enabled the emulated memory override in Dolphin" title="Invalid read when starting Wii game after having enabled the emulated memory override in Dolphin" src="https://github.com/user-attachments/assets/1777485e-a421-4303-8d3d-dd49f1aaa9bf" />
**With** the patch, the emulator can execute the game as usual.
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/Xlib')
0 files changed, 0 insertions, 0 deletions
