TU19: merge Minecraft.World/IO

This commit is contained in:
MatthewBeshay committed 2026-03-22 10:13:01 +11:00
1 parent 11a0440998
commit 993617025b
8 files changed
+76 -47

No files matched your search

+2 -1
View File
@@ -4,5 +4,6 @@
#include "InputStream.h"
InputStream* InputStream::getResourceAsStream(const std::wstring& fileName) {
return new FileInputStream(File(fileName));
File file(fileName);
return file.exists() ? new FileInputStream(file) : NULL;
}