Skip to content

Commit

Permalink
System: Fix loading state without media
Browse files Browse the repository at this point in the history
  • Loading branch information
stenzek committed Aug 12, 2024
1 parent 3e708d0 commit 5786f3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/system.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2556,7 +2556,7 @@ bool System::LoadStateFromBuffer(const SaveStateBuffer& buffer, Error* error, bo
INFO_LOG("Re-using same media '{}'", buffer.media_path);
media = std::move(old_media);
}
else
else if (!buffer.media_path.empty())
{
Error local_error;
media = CDImage::Open(buffer.media_path.c_str(), g_settings.cdrom_load_image_patches, error ? error : &local_error);
Expand Down

0 comments on commit 5786f3a

Please sign in to comment.