Renderers: Make shader cache path a prefix instead of directory

This commit is contained in:
Connor McLaughlin
2020-07-04 20:45:54 +10:00
parent b9ffca1ddf
commit f396a2c373
9 changed files with 11 additions and 14 deletions

View File

@ -103,6 +103,9 @@ public:
/// Returns the default path to a memory card for a specific game.
virtual std::string GetGameMemoryCardPath(const char* game_code, u32 slot) const;
/// Returns the path to the shader cache directory.
virtual std::string GetShaderCacheBasePath() const;
/// Returns a setting value from the configuration.
virtual std::string GetSettingValue(const char* section, const char* key, const char* default_value = "") = 0;
@ -127,9 +130,6 @@ protected:
virtual void OnRunningGameChanged();
virtual void OnControllerTypeChanged(u32 slot);
/// Returns the path to the shader cache directory.
virtual std::string GetShaderCacheDirectory();
/// Restores all settings to defaults.
virtual void SetDefaultSettings(SettingsInterface& si);