dolphin/Source/Android/app
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
..
src/main Core: Remove SerialInterfaceManager::ChangeDevice 2026-04-25 14:57:58 +02:00
.gitignore Android: Add build output folders to gitignore 2026-01-01 14:23:40 +01:00
build.gradle.kts Android: Use version catalog and update dependencies 2026-03-21 10:50:34 -04:00
proguard-rules.pro Android: Add ProGuard keep rules for classes and methods referenced in IDCache 2026-03-16 11:58:08 -04:00