aboutsummaryrefslogtreecommitdiff
path: root/src/yuzu/debugger/controller.h
diff options
context:
space:
mode:
authorMonsterDruide1 <5958456@gmail.com>2021-06-20 00:04:34 +0200
committerMonsterDruide1 <5958456@gmail.com>2021-09-18 23:22:30 +0200
commitf078b15565c8cab08587b8f8629d878615705cfb (patch)
treed6e18351980bbf1aac850831203caa127c796eba /src/yuzu/debugger/controller.h
parentc01a872c8efa90065b6ba1a74079ddf6ec12058f (diff)
input_common/tas: Fallback to simple update
Diffstat (limited to 'src/yuzu/debugger/controller.h')
-rw-r--r--src/yuzu/debugger/controller.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/yuzu/debugger/controller.h b/src/yuzu/debugger/controller.h
index f2f6653f7..448d24b67 100644
--- a/src/yuzu/debugger/controller.h
+++ b/src/yuzu/debugger/controller.h
@@ -25,6 +25,7 @@ struct ControllerInput {
struct ControllerCallback {
std::function<void(ControllerInput)> input;
+ std::function<void(bool)> update;
};
class ControllerDialog : public QWidget {
@@ -43,8 +44,8 @@ protected:
void hideEvent(QHideEvent* ev) override;
private:
- void RefreshTasFile();
void InputController(ControllerInput input);
+ void UpdateController(bool update);
QAction* toggle_view_action = nullptr;
QFileSystemWatcher* watcher = nullptr;
PlayerControlPreview* widget;