mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-12-14 20:19:38 +00:00
Move IOStream to GpCommon
This commit is contained in:
@@ -18,7 +18,7 @@ uint8_t *ReadEntireFile(const char *path, uint32_t &szOut)
|
||||
|
||||
PortabilityLayer::CFileStream stream(f, true, false, true);
|
||||
|
||||
PortabilityLayer::UFilePos_t sz = stream.Size();
|
||||
GpUFilePos_t sz = stream.Size();
|
||||
uint8_t *buffer = new uint8_t[sz];
|
||||
stream.Read(buffer, sz);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user