dolphin/Source
JosJuice 7ece00e328 Core: Remove SerialInterfaceManager::ChangeDevice
Now SerialInterfaceManager::UpdateDevices reads the configured SI
devices directly from Config instead.

The main reason why I wanted to do this is so that Android can change SI
devices while emulation is running. (Android didn't have the code for
calling ChangeDevice.) But when implementing the change, I noticed that
NetPlay and Movie were using ChangeDevice as a way of overriding the SI
devices configured by the user. Replacing this ended up making the change
larger than I first anticipated.

For Wii Remotes, there was no equivalent to ChangeDevice, so NetPlay and
Movie were using Config::SetCurrent to override the Wii Remote source
configured by the user. If we can use the config system to override Wii
Remote sources, why not do the same for SI devices? This commit makes
NetPlay and Movie set SI devices and Wii Remote sources in the NetPlay
and Movie config layers, as that is the conceptually appropriate place
to do it.

As far as I can tell, the old Movie code for overriding SI devices and
Wii Remote sources didn't actually work. This new code does. I didn't
investigate exactly why it didn't work, but maybe it's because loading
a movie happens before emulation actually starts.
2026-04-25 14:57:58 +02:00
..
Android Core: Remove SerialInterfaceManager::ChangeDevice 2026-04-25 14:57:58 +02:00
Core Core: Remove SerialInterfaceManager::ChangeDevice 2026-04-25 14:57:58 +02:00
DSPSpy Fix various typos and spelling mistakes 2026-01-17 20:11:38 +01:00
DSPTool Host: Remove unnecessary functions 2025-08-03 13:19:30 -07:00
PCH Fix various typos and spelling mistakes 2026-01-17 20:11:38 +01:00
UnitTests Improve usage of std::move and const references parameters 2026-04-17 12:39:46 +02:00
VSProps Move RangeSet from Externals to Common 2026-02-23 22:55:38 +01:00
.clang-format Clang-format: Fix invalid settings 2025-05-01 22:05:07 +02:00
CMakeLists.txt Merge pull request #14251 from JoshuaVandaele/cmake-editorconfig 2026-01-11 16:28:03 -05:00
dolphin-emu.sln Core/HW: Add Visual Studio project files for cpp-ipc library. 2025-10-28 18:50:58 +00:00