summaryrefslogtreecommitdiffstats
path: root/src/yuzu/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/yuzu/main.cpp')
-rw-r--r--src/yuzu/main.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp
index f3529d151..10057b9ca 100644
--- a/src/yuzu/main.cpp
+++ b/src/yuzu/main.cpp
@@ -30,6 +30,8 @@
#include "core/hle/service/am/applet_oe.h"
#include "core/hle/service/am/applets/applets.h"
+#include "input_common/tas/tas_input.h"
+
// These are wrappers to avoid the calls to CreateDirectory and CreateFile because of the Windows
// defines.
static FileSys::VirtualDir VfsFilesystemCreateDirectoryWrapper(
@@ -824,6 +826,12 @@ void GMainWindow::InitializeWidgets() {
});
statusBar()->insertPermanentWidget(0, renderer_status_button);
+ TASlabel = new QLabel();
+ TASlabel->setObjectName(QStringLiteral("TASlabel"));
+ TASlabel->setText(tr("TAS not running"));
+ TASlabel->setFocusPolicy(Qt::NoFocus);
+ statusBar()->insertPermanentWidget(0, TASlabel);
+
statusBar()->setVisible(true);
setStyleSheet(QStringLiteral("QStatusBar::item{border: none;}"));
}
@@ -2894,6 +2902,7 @@ void GMainWindow::UpdateStatusBar() {
return;
}
+ TASlabel->setText(tr(input_subsystem->GetTas()->GetStatusDescription().c_str()));
auto& system = Core::System::GetInstance();
auto results = system.GetAndResetPerfStats();
auto& shader_notify = system.GPU().ShaderNotify();