[*] moar regressions :(

This commit is contained in:
Reece Wilson 2023-09-18 06:09:29 +01:00
parent 09b044ab2e
commit 11ef18cbf0
2 changed files with 3 additions and 4 deletions

View File

@ -396,7 +396,7 @@ namespace Aurora::IO::FS
return false;
}
bOk &= pStream->Write(AuMemoryViewStreamRead { blob, uLength });
bOk = pStream->Write(AuMemoryViewStreamRead { blob, uLength });
pStream->WriteEoS();
pStream->Flush();
@ -425,12 +425,11 @@ namespace Aurora::IO::FS
return false;
}
bOk &= pStream->Write(AuMemoryViewStreamRead { blob, uLength });
bOk = pStream->Write(AuMemoryViewStreamRead { blob, uLength });
pStream->WriteEoS();
pStream->Flush();
bOk &= uLength == blob.length;
return bOk;
}

View File

@ -546,12 +546,12 @@ namespace Aurora::Process
}
auto handle = h->second;
#if defined(AURORA_IS_MODERNNT_DERIVED)
if (!pGetProcAddress)
{
return {};
}
#if defined(AURORA_IS_MODERNNT_DERIVED)
auto ret = reinterpret_cast<AuMach>(pGetProcAddress(reinterpret_cast<HMODULE>(handle), symbol.c_str()));
#else
auto ret = reinterpret_cast<AuMach>(dlsym(handle, symbol.c_str()));