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

@ -190,6 +190,10 @@ public:
/// Requests a resize to a multiple of the render window size.
bool RequestRenderWindowScale(float scale);
/// 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) override;
protected:
enum : u32
{