Add missing check to ItemPtr and instantiate FileStore32 in FS library

This commit is contained in:
2018-03-13 01:55:25 -05:00
parent 9447967f12
commit 127c6525f7
19 changed files with 224 additions and 75 deletions

View File

@@ -10,6 +10,10 @@
namespace ox {
template class FileSystemTemplate<FileStore16, OxFS_16>;
template class FileSystemTemplate<FileStore32, OxFS_32>;
template class FileSystemTemplate<FileStore64, OxFS_64>;
FileSystem *createFileSystem(uint8_t *buff, size_t buffSize, bool ownsBuff) {
auto version = ((FileStore16*) buff)->version();
auto type = ((FileStore16*) buff)->fsType();