aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/yuzu/main.cpp
diff options
context:
space:
mode:
authoryuzubot <[email protected]>2024-03-04 00:57:21 +0000
committeryuzubot <[email protected]>2024-03-04 00:57:21 +0000
commitadc597a7995508270628dbfc05afdf838bdc7cd6 (patch)
treec8c9b83baa57002efe2e5527a45135541c8bb836 /src/yuzu/main.cpp
parent276ceb26d0c58a00a0e65e3bf4d9c4371428f82d (diff)
downloadyuzu-android-adc597a7995508270628dbfc05afdf838bdc7cd6.tar.gz
yuzu-android-adc597a7995508270628dbfc05afdf838bdc7cd6.zip
Merge yuzu-emu#13018
Diffstat (limited to 'src/yuzu/main.cpp')
-rw-r--r--src/yuzu/main.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp
index c0c0a19b8..19aaff7c6 100644
--- a/src/yuzu/main.cpp
+++ b/src/yuzu/main.cpp
@@ -1461,7 +1461,6 @@ void GMainWindow::OnAppFocusStateChanged(Qt::ApplicationState state) {
OnPauseGame();
} else if (!emu_thread->IsRunning() && auto_paused && state == Qt::ApplicationActive) {
auto_paused = false;
- RequestGameResume();
OnStartGame();
}
}
@@ -1702,7 +1701,6 @@ void GMainWindow::OnPrepareForSleep(bool prepare_sleep) {
} else {
if (!emu_thread->IsRunning() && auto_paused) {
auto_paused = false;
- RequestGameResume();
OnStartGame();
}
}
@@ -3457,7 +3455,6 @@ void GMainWindow::OnPauseContinueGame() {
if (emu_thread->IsRunning()) {
OnPauseGame();
} else {
- RequestGameResume();
OnStartGame();
}
}
@@ -5013,10 +5010,6 @@ void GMainWindow::RequestGameExit() {
system->GetAppletManager().RequestExit();
}
-void GMainWindow::RequestGameResume() {
- system->GetAppletManager().RequestResume();
-}
-
void GMainWindow::filterBarSetChecked(bool state) {
ui->action_Show_Filter_Bar->setChecked(state);
emit(OnToggleFilterBar());