summaryrefslogtreecommitdiff
path: root/src/citra_qt/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/citra_qt/main.cpp')
-rw-r--r--src/citra_qt/main.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/citra_qt/main.cpp b/src/citra_qt/main.cpp
index 2746de779..e93e8ebb8 100644
--- a/src/citra_qt/main.cpp
+++ b/src/citra_qt/main.cpp
@@ -207,7 +207,7 @@ void GMainWindow::OnDisplayTitleBars(bool show)
207 } 207 }
208} 208}
209 209
210void GMainWindow::BootGame(std::string filename) { 210void GMainWindow::BootGame(const std::string& filename) {
211 LOG_INFO(Frontend, "Citra starting...\n"); 211 LOG_INFO(Frontend, "Citra starting...\n");
212 212
213 // Initialize the core emulation 213 // Initialize the core emulation
@@ -263,6 +263,7 @@ void GMainWindow::ShutdownGame() {
263 263
264 // Update the GUI 264 // Update the GUI
265 ui.action_Start->setEnabled(false); 265 ui.action_Start->setEnabled(false);
266 ui.action_Start->setText(tr("Start"));
266 ui.action_Pause->setEnabled(false); 267 ui.action_Pause->setEnabled(false);
267 ui.action_Stop->setEnabled(false); 268 ui.action_Stop->setEnabled(false);
268 render_window->hide(); 269 render_window->hide();
@@ -291,6 +292,8 @@ void GMainWindow::OnStartGame()
291 emu_thread->SetRunning(true); 292 emu_thread->SetRunning(true);
292 293
293 ui.action_Start->setEnabled(false); 294 ui.action_Start->setEnabled(false);
295 ui.action_Start->setText(tr("Continue"));
296
294 ui.action_Pause->setEnabled(true); 297 ui.action_Pause->setEnabled(true);
295 ui.action_Stop->setEnabled(true); 298 ui.action_Stop->setEnabled(true);
296} 299}