mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-15 20:45:45 -04:00
SaveStateSelectorUI: Fix loading/saving without popup
This commit is contained in:
@ -952,6 +952,7 @@ bool System::LoadState(const char* filename)
|
||||
if (!stream)
|
||||
return false;
|
||||
|
||||
Log_InfoPrintf("Loading state from '%s'...", filename);
|
||||
Host::AddFormattedOSDMessage(5.0f, Host::TranslateString("OSDMessage", "Loading state from '%s'..."), filename);
|
||||
|
||||
SaveUndoLoadState();
|
||||
@ -988,6 +989,8 @@ bool System::SaveState(const char* filename, bool backup_existing_save)
|
||||
if (!stream)
|
||||
return false;
|
||||
|
||||
Log_InfoPrintf("Saving state to '%s'...", filename);
|
||||
|
||||
const bool result = InternalSaveState(stream.get());
|
||||
if (!result)
|
||||
{
|
||||
|
Reference in New Issue
Block a user