aboutsummaryrefslogtreecommitdiff
path: root/src/core/core.h
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2018-11-28 14:00:44 -0500
committerZach Hilman <zachhilman@gmail.com>2018-12-03 17:20:34 -0500
commitc7b41ade74f55bd910414f20bbcc62a68101d768 (patch)
tree2f6a79d4136f4d9e9864c9feecb1b722c515fa5a /src/core/core.h
parentc381f46428268a57f0aef1d99918c8f1bb6beec7 (diff)
core: Make GetGameFileFromPath function externally accessible
Diffstat (limited to 'src/core/core.h')
-rw-r--r--src/core/core.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/core.h b/src/core/core.h
index be71bd4378..71031dfcfb 100644
--- a/src/core/core.h
+++ b/src/core/core.h
@@ -9,6 +9,7 @@
#include <string>
#include "common/common_types.h"
+#include "core/file_sys/vfs_types.h"
#include "core/hle/kernel/object.h"
namespace Core::Frontend {
@@ -55,6 +56,9 @@ class TelemetrySession;
struct PerfStatsResults;
+FileSys::VirtualFile GetGameFileFromPath(const FileSys::VirtualFilesystem& vfs,
+ const std::string& path);
+
class System {
public:
System(const System&) = delete;