mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 14:37:08 +00:00
Make gamedata installation atomic as real PS3
This commit is contained in:
parent
a9b0d25c01
commit
d7b4753007
6 changed files with 123 additions and 11 deletions
|
|
@ -81,7 +81,7 @@ struct syscache_info
|
|||
{
|
||||
idm::select<lv2_fs_object, lv2_file>([](u32 /*id*/, lv2_file& file)
|
||||
{
|
||||
if (std::memcmp("/dev_hdd1", file.name.data(), 9) == 0)
|
||||
if (file.file && std::memcmp("/dev_hdd1/", file.name.data(), 10) == 0)
|
||||
{
|
||||
file.lock = 2;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue