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

@@ -38,7 +38,7 @@ namespace PortabilityLayer
delete[] m_compiledTypeListBlob;
}
bool ResourceFile::Load(IOStream *stream)
bool ResourceFile::Load(GpIOStream *stream)
{
struct ResourceHeader
{
@@ -48,7 +48,7 @@ namespace PortabilityLayer
uint32_t m_resMapSize;
};
const UFilePos_t streamSize = stream->Size();
const GpUFilePos_t streamSize = stream->Size();
if (streamSize > UINT32_MAX)
return false;