Skip to content

Commit

Permalink
Adding logs to aid with debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
vitor251093 committed Feb 6, 2024
1 parent cc02de6 commit a30f258
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/frontend/qt_sdl/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2594,6 +2594,8 @@ void MainWindow::updateCartInserted(bool gba)

void MainWindow::loadMostRecentFile()
{
printf("Trying to load most recent ROM\n");

if (emuThread->NDS->IsRunning()) {
return;
}
Expand All @@ -2614,6 +2616,8 @@ void MainWindow::loadMostRecentFile()
return;
}

printf("Most recent ROM loaded successfully\n");

recentFileList.removeAll(filename);
recentFileList.prepend(filename);
updateRecentFilesMenu();
Expand Down

0 comments on commit a30f258

Please sign in to comment.