HostInterface: Add OpenPackageFile method

This commit is contained in:
Connor McLaughlin
2020-11-27 17:57:20 +10:00
parent 57c6e4d5e8
commit 5f69216f70
5 changed files with 26 additions and 3 deletions

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();