mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Back up part of SYSCONF when switching to emulated BT
This fixes an issue where the Bluetooth info section could be fully filled up by syncing 5 Wiimotes in passthrough mode then switching to emulated Bluetooth; emulated Wiimotes were then unable to be used. The "real" SYSCONF section is now backed up before being replaced with a blank section that the emulated BT adapter can always fill with 5 Wiimotes without issues. This backup is restored by the passthrough code, instead of during the Bluetooth mode switch because this should be done regardless of the user interface, and even without UI (if the config file is edited manually).
This commit is contained in:
@ -120,6 +120,7 @@
|
||||
#define WII_STATE "state.dat"
|
||||
|
||||
#define WII_SDCARD "sd.raw"
|
||||
#define WII_BTDINF_BACKUP "btdinf.bak"
|
||||
|
||||
#define WII_SETTING "setting.txt"
|
||||
|
||||
|
Reference in New Issue
Block a user