early-access version 1942

This commit is contained in:
pineappleEA
2021-07-29 21:34:06 +02:00
parent 21ca602747
commit 80ad76aa9e
11 changed files with 44 additions and 49 deletions
+2 -7
View File
@@ -1044,12 +1044,7 @@ void GMainWindow::InitializeHotkeys() {
input_subsystem->GetTas()->StartStop();
});
connect(hotkey_registry.GetHotkey(main_window, QStringLiteral("TAS Reset"), this),
&QShortcut::activated, this, [&] {
if (emulation_running) {
input_subsystem->GetTas()->Reset();
}
input_subsystem->GetTas()->Reset();
});
&QShortcut::activated, this, [&] { input_subsystem->GetTas()->Reset(); });
connect(hotkey_registry.GetHotkey(main_window, QStringLiteral("TAS Record"), this),
&QShortcut::activated, this, [&] {
if (!emulation_running) {
@@ -1515,7 +1510,7 @@ void GMainWindow::ShutdownGame() {
}
game_list->SetFilterFocus();
tas_label->clear();
input_subsystem->GetTas()->~Tas();
input_subsystem->GetTas()->Stop();
render_window->removeEventFilter(render_window);
render_window->setAttribute(Qt::WA_Hover, false);