mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-10 06:58:09 -05:00
frontend_common: Fix settings reload bug
This clears the touch_from_button_maps array before we read new data into it because this read duplicate data on a reload otherwise.
This commit is contained in:
@ -214,6 +214,7 @@ void Config::ReadControlValues() {
|
||||
}
|
||||
|
||||
void Config::ReadMotionTouchValues() {
|
||||
Settings::values.touch_from_button_maps.clear();
|
||||
int num_touch_from_button_maps = BeginArray(std::string("touch_from_button_maps"));
|
||||
|
||||
if (num_touch_from_button_maps > 0) {
|
||||
|
Reference in New Issue
Block a user