early-access version 3266

Cette révision appartient à :
pineappleEA 2022-12-30 10:52:06 +01:00
Parent bc8022e509
révision cc2219c160
2 fichiers modifiés avec 6 ajouts et 1 suppressions

Voir le fichier

@ -1,7 +1,7 @@
yuzu emulator early access yuzu emulator early access
============= =============
This is the source code for early-access 3265. This is the source code for early-access 3266.
## Legal Notice ## Legal Notice

Voir le fichier

@ -40,6 +40,11 @@ void EmulatedConsole::SetTouchParams() {
touch_params[index++] = std::move(touchscreen_param); touch_params[index++] = std::move(touchscreen_param);
} }
if (Settings::values.touch_from_button_maps.empty()) {
LOG_WARNING(Input, "touch_from_button_maps is unset by frontend config");
return;
}
const auto button_index = const auto button_index =
static_cast<u64>(Settings::values.touch_from_button_map_index.GetValue()); static_cast<u64>(Settings::values.touch_from_button_map_index.GetValue());
const auto& touch_buttons = Settings::values.touch_from_button_maps[button_index].buttons; const auto& touch_buttons = Settings::values.touch_from_button_maps[button_index].buttons;