Turn the VFS into a class, to be able to reuse it for other purposes.

This commit is contained in:
Henrik Rydgård committed 2023-03-06 16:42:47 +01:00
1 parent ebd8a63914
commit 3b39e9e068
29 files changed
+106 -95

No files matched your search

+1 -1
View File
@@ -237,7 +237,7 @@ static bool ServeDebuggerFile(const http::Request &request) {
return false;
size_t size;
uint8_t *data = VFSReadFile(filename, &size);
uint8_t *data = g_VFS.ReadFile(filename, &size);
if (!data)
return false;