aboutsummaryrefslogtreecommitdiff
path: root/src/yuzu/main_window.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/yuzu/main_window.cpp')
-rw-r--r--src/yuzu/main_window.cpp14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/yuzu/main_window.cpp b/src/yuzu/main_window.cpp
index e02e02b413..688078385a 100644
--- a/src/yuzu/main_window.cpp
+++ b/src/yuzu/main_window.cpp
@@ -3665,13 +3665,17 @@ void MainWindow::OnTasRecord() {
const bool is_recording = input_subsystem->GetTas()->Record();
if (!is_recording) {
- is_tas_recording_dialog_active = true;
+ if (Settings::values.tas_show_recording_dialog.GetValue()) {
+ is_tas_recording_dialog_active = true;
- bool answer = question(this, tr("TAS Recording"), tr("Overwrite file of player 1?"),
- QMessageBox::Yes | QMessageBox::No, QMessageBox::Yes);
+ bool answer = question(this, tr("TAS Recording"), tr("Overwrite file of player 1?"),
+ QMessageBox::Yes | QMessageBox::No, QMessageBox::Yes);
- input_subsystem->GetTas()->SaveRecording(answer);
- is_tas_recording_dialog_active = false;
+ input_subsystem->GetTas()->SaveRecording(answer);
+ is_tas_recording_dialog_active = false;
+ } else {
+ input_subsystem->GetTas()->SaveRecording(true);
+ }
}
OnTasStateChanged();
}