aboutsummaryrefslogtreecommitdiff
path: root/primedev/core/filesystem/filesystem.h
diff options
context:
space:
mode:
authorF1F7Y <64418963+F1F7Y@users.noreply.github.com>2024-09-05 15:22:52 +0200
committerGitHub <noreply@github.com>2024-09-05 15:22:52 +0200
commit27f478e7a296bca381a3bd78b82798863cac749c (patch)
tree4241222bdf1c15151e041055196c02f2d9ac9104 /primedev/core/filesystem/filesystem.h
parent68d374dbac1e0fa6fefa67db1e54d7d1eb9dc433 (diff)
downloadNorthstarLauncher-27f478e7a296bca381a3bd78b82798863cac749c.tar.gz
NorthstarLauncher-27f478e7a296bca381a3bd78b82798863cac749c.zip
core: Remove use of `SourceInterface` for `IFileSystem` (#805)
`SourceInteface` class goes back to icepick and is not good. We have a replacement, let's use it.
Diffstat (limited to 'primedev/core/filesystem/filesystem.h')
-rw-r--r--primedev/core/filesystem/filesystem.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/primedev/core/filesystem/filesystem.h b/primedev/core/filesystem/filesystem.h
index 4e2c18d9..2c592b3f 100644
--- a/primedev/core/filesystem/filesystem.h
+++ b/primedev/core/filesystem/filesystem.h
@@ -1,5 +1,4 @@
#pragma once
-#include "core/sourceinterface.h"
// taken from ttf2sdk
typedef void* FileHandle_t;
@@ -48,7 +47,7 @@ public:
VTable2* m_vtable2;
};
-extern SourceInterface<IFileSystem>* g_pFilesystem;
+extern IFileSystem* g_pFilesystem;
std::string ReadVPKFile(const char* path);
std::string ReadVPKOriginalFile(const char* path);