mirror of
https://github.com/stenzek/duckstation.git
synced 2025-06-07 20:15:32 +00:00
System: Warning fix
This commit is contained in:
parent
9e5deb8e35
commit
b92eeec962
@ -2803,7 +2803,6 @@ bool System::LoadStateFromBuffer(const SaveStateBuffer& buffer, Error* error, bo
|
|||||||
{
|
{
|
||||||
Assert(IsValid());
|
Assert(IsValid());
|
||||||
|
|
||||||
std::string_view media_path = buffer.media_path;
|
|
||||||
u32 media_subimage_index = (buffer.version >= 51) ? buffer.media_subimage_index : 0;
|
u32 media_subimage_index = (buffer.version >= 51) ? buffer.media_subimage_index : 0;
|
||||||
if (!buffer.media_path.empty())
|
if (!buffer.media_path.empty())
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user