diff options
author | Zach Hilman <zachhilman@gmail.com> | 2019-05-02 04:42:17 +0200 |
---|---|---|
committer | Zach Hilman <zachhilman@gmail.com> | 2019-09-30 23:27:23 +0200 |
commit | b8ce87103d1aa382a9b96f3379a599f869b02a68 (patch) | |
tree | 07c6a46fe140e61a47825e836b8e6e07dbbc46fb /src/core/hle/service/bcat/backend/backend.h | |
parent | bcat: Expose CreateBackendFromSettings helper function (diff) | |
download | yuzu-b8ce87103d1aa382a9b96f3379a599f869b02a68.tar yuzu-b8ce87103d1aa382a9b96f3379a599f869b02a68.tar.gz yuzu-b8ce87103d1aa382a9b96f3379a599f869b02a68.tar.bz2 yuzu-b8ce87103d1aa382a9b96f3379a599f869b02a68.tar.lz yuzu-b8ce87103d1aa382a9b96f3379a599f869b02a68.tar.xz yuzu-b8ce87103d1aa382a9b96f3379a599f869b02a68.tar.zst yuzu-b8ce87103d1aa382a9b96f3379a599f869b02a68.zip |
Diffstat (limited to 'src/core/hle/service/bcat/backend/backend.h')
-rw-r--r-- | src/core/hle/service/bcat/backend/backend.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/hle/service/bcat/backend/backend.h b/src/core/hle/service/bcat/backend/backend.h index e412819e1..5b4118814 100644 --- a/src/core/hle/service/bcat/backend/backend.h +++ b/src/core/hle/service/bcat/backend/backend.h @@ -5,6 +5,7 @@ #pragma once #include <functional> +#include <optional> #include "common/common_types.h" #include "core/file_sys/vfs_types.h" @@ -32,6 +33,8 @@ public: virtual void SetPassphrase(u64 title_id, const Passphrase& passphrase) = 0; + virtual std::optional<std::vector<u8>> GetLaunchParameter(TitleIDVersion title) = 0; + protected: DirectoryGetter dir_getter; }; @@ -48,6 +51,8 @@ public: bool Clear(u64 title_id) override; void SetPassphrase(u64 title_id, const Passphrase& passphrase) override; + + std::optional<std::vector<u8>> GetLaunchParameter(TitleIDVersion title) override; }; std::unique_ptr<Backend> CreateBackendFromSettings(DirectoryGetter getter); |