Fix version mismatch when loading FileSystems
This commit is contained in:
parent
0bc0340c20
commit
d76dea463c
2
deps/ox/src/ox/fs/filesystem.cpp
vendored
2
deps/ox/src/ox/fs/filesystem.cpp
vendored
@ -16,7 +16,7 @@ FileSystem *createFileSystem(uint8_t *buff, size_t buffSize, bool ownsBuff) {
|
|||||||
FileSystem *fs = nullptr;
|
FileSystem *fs = nullptr;
|
||||||
|
|
||||||
switch (version) {
|
switch (version) {
|
||||||
case 6:
|
case FileStore16::VERSION:
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case ox::OxFS_16:
|
case ox::OxFS_16:
|
||||||
fs = new FileSystem16(buff, ownsBuff);
|
fs = new FileSystem16(buff, ownsBuff);
|
||||||
|
Loading…
Reference in New Issue
Block a user