mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-14 05:47:57 -05:00
Merge pull request #4834 from lioncash/copy-fn
controller: Pass ControllerParameters by reference in ReconfigureControllers()
This commit is contained in:
@ -589,7 +589,7 @@ QtControllerSelector::QtControllerSelector(GMainWindow& parent) {
|
||||
QtControllerSelector::~QtControllerSelector() = default;
|
||||
|
||||
void QtControllerSelector::ReconfigureControllers(
|
||||
std::function<void()> callback, Core::Frontend::ControllerParameters parameters) const {
|
||||
std::function<void()> callback, const Core::Frontend::ControllerParameters& parameters) const {
|
||||
this->callback = std::move(callback);
|
||||
emit MainWindowReconfigureControllers(parameters);
|
||||
}
|
||||
|
Reference in New Issue
Block a user