summaryrefslogtreecommitdiff
path: root/src/yuzu/applets/controller.h
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2020-08-27 03:52:26 -0400
committerMorph <39850852+Morph1984@users.noreply.github.com>2020-09-04 12:23:25 -0400
commit72b2f5d34f2f24bdcb252d2158d43aa7f827e60b (patch)
treebef535a1c3f2fa652b827db4288652ebdccf980a /src/yuzu/applets/controller.h
parentaeec0f8a38cbe247bbe619a69842700208ee2d79 (diff)
applets/controller: Load configuration prior to setting up connections
This avoids unintentionally changing the states of elements while loading them in.
Diffstat (limited to 'src/yuzu/applets/controller.h')
-rw-r--r--src/yuzu/applets/controller.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/yuzu/applets/controller.h b/src/yuzu/applets/controller.h
index 6ab4bea09..2d6d588c6 100644
--- a/src/yuzu/applets/controller.h
+++ b/src/yuzu/applets/controller.h
@@ -37,6 +37,9 @@ private:
// Applies the current configuration.
void ApplyConfiguration();
+ // Loads the current input configuration into the frontend applet.
+ void LoadConfiguration();
+
// Initializes the "Configure Input" Dialog.
void CallConfigureInputDialog();
@@ -68,9 +71,6 @@ private:
// Disables and disconnects unsupported players based on the given parameters.
void DisableUnsupportedPlayers();
- // Loads the current input configuration into the frontend applet.
- void LoadConfiguration();
-
std::unique_ptr<Ui::QtControllerSelectorDialog> ui;
// Parameters sent in from the backend HLE applet.