mirror of
https://git.suyu.dev/suyu/suyu
synced 2024-12-27 11:52:31 -06:00
yuzu: Shutdown game on restart to reload per game config
This commit is contained in:
parent
df9c8bdfd9
commit
0a88c7dbbe
1 changed files with 4 additions and 2 deletions
|
@ -3018,8 +3018,10 @@ void GMainWindow::OnRestartGame() {
|
||||||
if (!system->IsPoweredOn()) {
|
if (!system->IsPoweredOn()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// Make a copy since BootGame edits game_path
|
// Make a copy since ShutdownGame edits game_path
|
||||||
BootGame(QString(current_game_path));
|
const auto current_game = QString(current_game_path);
|
||||||
|
ShutdownGame();
|
||||||
|
BootGame(current_game);
|
||||||
}
|
}
|
||||||
|
|
||||||
void GMainWindow::OnPauseGame() {
|
void GMainWindow::OnPauseGame() {
|
||||||
|
|
Loading…
Reference in a new issue