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

@ -864,6 +864,12 @@ std::string LibretroHostInterface::GetBIOSDirectory()
return system_directory;
}
std::unique_ptr<ByteStream> LibretroHostInterface::OpenPackageFile(const char* path, u32 flags)
{
Log_ErrorPrintf("Ignoring request for package file '%s'", path);
return {};
}
void LibretroHostInterface::LoadSettings()
{
LibretroSettingsInterface si;

View File

@ -33,6 +33,7 @@ public:
std::string GetShaderCacheBasePath() const override;
std::string GetStringSettingValue(const char* section, const char* key, const char* default_value = "") override;
std::string GetBIOSDirectory() override;
std::unique_ptr<ByteStream> OpenPackageFile(const char* path, u32 flags) override;
bool UpdateSystemAVInfo(bool use_resolution_scale);