mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-12 09:48:37 +12:00
Savestates/sys_fs: Utilize fs::file::get_id to fix an old bug
This commit is contained in:
parent
eecadab387
commit
41d38975f7
1 changed files with 3 additions and 6 deletions
|
@ -499,13 +499,10 @@ void lv2_file::save(utils::serial& ar)
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
fs::stat_t test_s = test.get_stat();
|
fs::file_id test_s = test.get_id();
|
||||||
fs::stat_t file_s = file.get_stat();
|
fs::file_id file_s = file.get_id();
|
||||||
|
|
||||||
// They don't matter for comparison and only create problems with encrypted files
|
return test_s.is_coherent_with(file_s);
|
||||||
test_s.is_writable = file_s.is_writable;
|
|
||||||
test_s.size = file_s.size;
|
|
||||||
return test_s != file_s;
|
|
||||||
}();
|
}();
|
||||||
|
|
||||||
if (in_mem)
|
if (in_mem)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue