mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-17 18:15:45 -04:00
HostInterface: Fix load state on boot not loading state
This commit is contained in:
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user