mirror of
https://github.com/ong19th/Citron.git
synced 2025-12-13 19:36:56 +00:00
yuzu qt: Remove global system instances from config, WaitTree, main
This commit is contained in:
parent
f84328934f
commit
fb66a455c4
69 changed files with 687 additions and 635 deletions
|
|
@ -7,6 +7,7 @@
|
|||
#include <array>
|
||||
#include <memory>
|
||||
#include <QDialog>
|
||||
#include "core/core.h"
|
||||
#include "core/frontend/applets/controller.h"
|
||||
|
||||
class GMainWindow;
|
||||
|
|
@ -36,7 +37,8 @@ class QtControllerSelectorDialog final : public QDialog {
|
|||
public:
|
||||
explicit QtControllerSelectorDialog(QWidget* parent,
|
||||
Core::Frontend::ControllerParameters parameters_,
|
||||
InputCommon::InputSubsystem* input_subsystem_);
|
||||
InputCommon::InputSubsystem* input_subsystem_,
|
||||
Core::System& system_);
|
||||
~QtControllerSelectorDialog() override;
|
||||
|
||||
int exec() override;
|
||||
|
|
@ -103,6 +105,8 @@ private:
|
|||
|
||||
std::unique_ptr<InputProfiles> input_profiles;
|
||||
|
||||
Core::System& system;
|
||||
|
||||
// This is true if and only if all parameters are met. Otherwise, this is false.
|
||||
// This determines whether the "OK" button can be clicked to exit the applet.
|
||||
bool parameters_met{false};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue