Move IOStream to GpCommon

This commit is contained in:
elasota
2020-09-12 13:32:53 -04:00
parent 480a4b6098
commit f07137b52d
57 changed files with 483 additions and 477 deletions

View File

@@ -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);