HostInterface: Fix load state on boot not loading state

This commit is contained in:
Connor McLaughlin committed 2019-11-17 19:41:25 +10:00
1 parent 1f4dbd1060
commit 48e3683d20
1 file changed
+4
+4
View File
@@ -42,6 +42,10 @@ bool HostInterface::BootSystem(const char* filename, const char* state_filename)
m_paused = m_settings.start_paused;
ConnectControllers();
UpdateSpeedLimiterState();
if (state_filename && !LoadState(state_filename))
return false;
return true;
}