diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2023-04-01 15:49:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-01 15:49:08 +0200 |
commit | b2772bcb0d994a9646282e98aca5d97b70f843f4 (patch) | |
tree | d2a1f4b3990c946d63652c23361174a33cd3e782 /src/core/frontend/applets | |
parent | Merge pull request #9999 from german77/new_hid_hurra (diff) | |
parent | applet: controller: Implement cancel button (diff) | |
download | yuzu-b2772bcb0d994a9646282e98aca5d97b70f843f4.tar yuzu-b2772bcb0d994a9646282e98aca5d97b70f843f4.tar.gz yuzu-b2772bcb0d994a9646282e98aca5d97b70f843f4.tar.bz2 yuzu-b2772bcb0d994a9646282e98aca5d97b70f843f4.tar.lz yuzu-b2772bcb0d994a9646282e98aca5d97b70f843f4.tar.xz yuzu-b2772bcb0d994a9646282e98aca5d97b70f843f4.tar.zst yuzu-b2772bcb0d994a9646282e98aca5d97b70f843f4.zip |
Diffstat (limited to 'src/core/frontend/applets')
-rw-r--r-- | src/core/frontend/applets/controller.cpp | 2 | ||||
-rw-r--r-- | src/core/frontend/applets/controller.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/frontend/applets/controller.cpp b/src/core/frontend/applets/controller.cpp index 8e586e938..3300d4f79 100644 --- a/src/core/frontend/applets/controller.cpp +++ b/src/core/frontend/applets/controller.cpp @@ -71,7 +71,7 @@ void DefaultControllerApplet::ReconfigureControllers(ReconfigureCallback callbac } } - callback(); + callback(true); } } // namespace Core::Frontend diff --git a/src/core/frontend/applets/controller.h b/src/core/frontend/applets/controller.h index 5c488387d..19a2db6bf 100644 --- a/src/core/frontend/applets/controller.h +++ b/src/core/frontend/applets/controller.h @@ -37,7 +37,7 @@ struct ControllerParameters { class ControllerApplet : public Applet { public: - using ReconfigureCallback = std::function<void()>; + using ReconfigureCallback = std::function<void(bool)>; virtual ~ControllerApplet(); |