From 7af54db2f06630c88e5fe979448f3351da977bc2 Mon Sep 17 00:00:00 2001 From: DanielSvoboda Date: Wed, 9 Oct 2024 00:53:05 -0300 Subject: [PATCH] QT --- src/emulator.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/emulator.cpp b/src/emulator.cpp index 4a8c09ed2..2cb300caa 100644 --- a/src/emulator.cpp +++ b/src/emulator.cpp @@ -240,7 +240,9 @@ void Emulator::Run(const std::filesystem::path& file) { window->waitEvent(); } +#ifdef ENABLE_QT_GUI UpdatePlayTime(id); +#endif std::exit(0); }