[Emulator] Launch file based on signature instead of file extension

This commit is contained in:
Adrian
2024-03-21 13:10:12 +00:00
committed by Radosław Gliński
parent 5eecb4e65d
commit 5efcc6a71b
9 changed files with 188 additions and 52 deletions

View File

@@ -21,6 +21,11 @@
namespace xe {
namespace vfs {
const fourcc_t kZarMagic = make_fourcc((_ZARCHIVE::Footer::kMagic >> 24 & 0xFF),
(_ZARCHIVE::Footer::kMagic >> 16 & 0xFF),
(_ZARCHIVE::Footer::kMagic >> 8 & 0xFF),
(_ZARCHIVE::Footer::kMagic & 0xFF));
class DiscZarchiveEntry;
class DiscZarchiveDevice : public Device {