System: Warning fix

This commit is contained in:
Stenzek 2024-10-25 20:45:11 +10:00
parent 9e5deb8e35
commit b92eeec962
No known key found for this signature in database
1 changed files with 0 additions and 1 deletions

View File

@ -2803,7 +2803,6 @@ bool System::LoadStateFromBuffer(const SaveStateBuffer& buffer, Error* error, bo
{
Assert(IsValid());
std::string_view media_path = buffer.media_path;
u32 media_subimage_index = (buffer.version >= 51) ? buffer.media_subimage_index : 0;
if (!buffer.media_path.empty())
{