Emscripten port

This commit is contained in:
elasota
2021-03-29 21:41:11 -04:00
parent 9ba0e9f13d
commit 6fb45f480b
92 changed files with 15731 additions and 300 deletions

View File

@@ -184,9 +184,12 @@ namespace PortabilityLayer
GpIOStream *fStream = nullptr;
ZipFileProxy *proxy = nullptr;
bool proxyIsShared = false;
fprintf(stderr, "Trying to open resource file\n");
if (file->OpenResources(fStream, proxy, proxyIsShared) != PLErrors::kNone)
return nullptr;
fprintf(stderr, "Creating resource archive\n");
IResourceArchive *archive = ResourceArchiveZipFile::Create(proxy, proxyIsShared, fStream);
if (!archive)
{