mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-14 21:35:47 -04:00
System: Rewrite save state I/O
No more ByteStream or virtual calls for every piece of data.
This commit is contained in:
@ -840,7 +840,7 @@ void EmuThread::bootOrLoadState(std::string path)
|
||||
if (System::IsValid())
|
||||
{
|
||||
Error error;
|
||||
if (!System::LoadState(path.c_str(), &error))
|
||||
if (!System::LoadState(path.c_str(), &error, true))
|
||||
{
|
||||
emit errorReported(tr("Error"),
|
||||
tr("Failed to load state: %1").arg(QString::fromStdString(error.GetDescription())));
|
||||
|
Reference in New Issue
Block a user