mirror of
https://github.com/citra-emu/citra.git
synced 2024-12-18 15:10:04 +00:00
layered_fs: Fix missing file size update
This was a silly typo from a previous change.
This commit is contained in:
parent
4273b967b5
commit
8eacfceb6a
@ -177,6 +177,7 @@ void LayeredFS::LoadRelocations() {
|
|||||||
auto* file = file_path_map.at(path);
|
auto* file = file_path_map.at(path);
|
||||||
file->relocation.type = 1;
|
file->relocation.type = 1;
|
||||||
file->relocation.replace_file_path = directory + virtual_name;
|
file->relocation.replace_file_path = directory + virtual_name;
|
||||||
|
file->relocation.size = FileUtil::GetSize(directory + virtual_name);
|
||||||
LOG_INFO(Service_FS, "LayeredFS replacement file in use for {}", path);
|
LOG_INFO(Service_FS, "LayeredFS replacement file in use for {}", path);
|
||||||
return true;
|
return true;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user