mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-07 23:45:12 +00:00
fs::file: always use strict reading mode for large reads (#11206)
This commit is contained in:
parent
f910a152f1
commit
f16949c292
8 changed files with 55 additions and 69 deletions
|
|
@ -226,7 +226,7 @@ namespace rpcs3::utils
|
|||
|
||||
// Read null-terminated string
|
||||
dec_file.seek(0x10);
|
||||
dec_file.read<true>(edat_content_id, 0x30);
|
||||
dec_file.read(edat_content_id, 0x30);
|
||||
edat_content_id.resize(std::min<usz>(0x30, edat_content_id.find_first_of('\0')));
|
||||
if (edat_content_id != content_id)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue