mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-04 22:11:18 +12:00
Initial macOS port bringup
This commit is contained in:
parent
a2abffd37b
commit
812f325aff
84 changed files with 157 additions and 122 deletions
|
@ -1029,7 +1029,7 @@ bool FSTVerifier::VerifyContentFile(FileStream* fileContent, const NCrypto::AesK
|
|||
SHA256_Init(&sha256Ctx);
|
||||
while (remainingBytes > 0)
|
||||
{
|
||||
uint32 bytesToRead = (uint32)std::min(remainingBytes, buffer.size());
|
||||
uint32 bytesToRead = (uint32)std::min(remainingBytes, (uint64)buffer.size());
|
||||
uint32 bytesToReadPadded = ((bytesToRead + 0xF) & ~0xF);
|
||||
uint32 bytesRead = fileContent->readData(buffer.data(), bytesToReadPadded);
|
||||
if (bytesRead != bytesToReadPadded)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue