mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-29 17:15:40 +00:00
HostInterface: Fix load state on boot not loading state
This commit is contained in:
parent
1f4dbd1060
commit
48e3683d20
|
@ -42,6 +42,10 @@ bool HostInterface::BootSystem(const char* filename, const char* state_filename)
|
||||||
m_paused = m_settings.start_paused;
|
m_paused = m_settings.start_paused;
|
||||||
ConnectControllers();
|
ConnectControllers();
|
||||||
UpdateSpeedLimiterState();
|
UpdateSpeedLimiterState();
|
||||||
|
|
||||||
|
if (state_filename && !LoadState(state_filename))
|
||||||
|
return false;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue