mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-07 23:45:12 +00:00
fs::file: implement release_handle
cleanup
This commit is contained in:
parent
95d0cb18e4
commit
d766baef12
5 changed files with 48 additions and 24 deletions
|
|
@ -709,12 +709,9 @@ bool VerifyEDATHeaderWithKLicense(const fs::file& input, const std::string& inpu
|
|||
return false;
|
||||
}
|
||||
|
||||
std::string_view sv{NPD.content_id, std::size(NPD.content_id)};
|
||||
sv = sv.substr(0, sv.find_first_of('\0'));
|
||||
|
||||
if (npd_out)
|
||||
{
|
||||
memcpy(npd_out, &NPD, sizeof(NPD_HEADER));
|
||||
*npd_out = NPD;
|
||||
}
|
||||
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue