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 New Issue