1
0
Fork 0
forked from suyu/suyu

yuzu: Shutdown game on restart to reload per game config

This commit is contained in:
Narr the Reg 2023-02-16 21:16:28 -06:00
parent df9c8bdfd9
commit 0a88c7dbbe

View file

@ -3018,8 +3018,10 @@ void GMainWindow::OnRestartGame() {
if (!system->IsPoweredOn()) {
return;
}
// Make a copy since BootGame edits game_path
BootGame(QString(current_game_path));
// Make a copy since ShutdownGame edits game_path
const auto current_game = QString(current_game_path);
ShutdownGame();
BootGame(current_game);
}
void GMainWindow::OnPauseGame() {