diff options
author | Feng Chen <VonChenPlus@gmail.com> | 2021-12-18 13:57:14 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-18 13:57:14 +0800 |
commit | e49184e6069a9d791d2df3c1958f5c4b1187e124 (patch) | |
tree | b776caf722e0be0e680f67b0ad0842628162ef1c /src/yuzu/configuration/configure_debug_controller.cpp | |
parent | 4dd85f86a89338ff84d05a3981c14f6de1be4606 (diff) | |
parent | 77d06d5df02d18da381bcd572ce11fee790d9edf (diff) |
Merge branch 'yuzu-emu:master' into convert_legacy
Diffstat (limited to 'src/yuzu/configuration/configure_debug_controller.cpp')
-rw-r--r-- | src/yuzu/configuration/configure_debug_controller.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/yuzu/configuration/configure_debug_controller.cpp b/src/yuzu/configuration/configure_debug_controller.cpp index 31ec48384..9a8de92a1 100644 --- a/src/yuzu/configuration/configure_debug_controller.cpp +++ b/src/yuzu/configuration/configure_debug_controller.cpp @@ -2,17 +2,18 @@ // Licensed under GPLv2 or any later version // Refer to the license.txt file included. -#include "core/core.h" +#include "core/hid/hid_core.h" #include "ui_configure_debug_controller.h" #include "yuzu/configuration/configure_debug_controller.h" #include "yuzu/configuration/configure_input_player.h" ConfigureDebugController::ConfigureDebugController(QWidget* parent, InputCommon::InputSubsystem* input_subsystem, - InputProfiles* profiles, Core::System& system) + InputProfiles* profiles, + Core::HID::HIDCore& hid_core, bool is_powered_on) : QDialog(parent), ui(std::make_unique<Ui::ConfigureDebugController>()), - debug_controller( - new ConfigureInputPlayer(this, 9, nullptr, input_subsystem, profiles, system, true)) { + debug_controller(new ConfigureInputPlayer(this, 9, nullptr, input_subsystem, profiles, + hid_core, is_powered_on, true)) { ui->setupUi(this); ui->controllerLayout->addWidget(debug_controller); |