HostInterface: Add OpenPackageFile method

This commit is contained in:
Connor McLaughlin committed 2020-11-28 00:14:45 +10:00
1 parent 57c6e4d5e8
commit 5f69216f70
5 files changed
+26 -3

No files matched your search

+4
View File
@@ -133,6 +133,10 @@ public:
/// Returns true if any BIOS images are found in the configured BIOS directory.
bool HasAnyBIOSImages();
/// Opens a file in the DuckStation "package".
/// This is the APK for Android builds, or the program directory for standalone builds.
virtual std::unique_ptr<ByteStream> OpenPackageFile(const char* path, u32 flags) = 0;
virtual void OnRunningGameChanged();
virtual void OnSystemPerformanceCountersUpdated();