Qt: Fix power off button not exiting in batch mode

This commit is contained in:
Connor McLaughlin committed 2020-10-30 00:44:39 +10:00
1 parent 3394575dca
commit 62dbaaf02c
2 files changed
+4 -7

No files matched your search

@@ -183,6 +183,9 @@ void CommonHostInterface::DestroySystem()
void CommonHostInterface::PowerOffSystem()
{
if (System::IsShutdown())
return;
if (g_settings.save_state_on_exit)
SaveResumeSaveState();