Add a ZipFileLoader, which can let us load any single-file file type from a zip.

Useful for loading framedumps from github without manually having to
unzip each one, for example.
This commit is contained in:
Henrik Rydgård committed 2025-04-12 22:23:23 +02:00
1 parent 200edfaa96
commit fffbed53bc
19 files changed
+317 -5

No files matched your search

+4
View File
@@ -17,6 +17,10 @@
#pragma once
// TODO: Somehow unify FileSystem, VFS and FileLoaders. Actually, maybe FileSystem and VFS have the most in common
// but file systems should be able to contain FileLoader as files. Then we can do stuff like playing homebrew directly
// out of zip files, and similar tricks.
#include <vector>
#include <string>
#include <cstring>