diff options
author | Lioncash <mathew1800@gmail.com> | 2019-10-12 15:23:40 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-10-15 22:39:27 +0200 |
commit | cc1d7048b590a6f39ddf6d3065197ce475912403 (patch) | |
tree | a73e2f8ca83cde4a24436cdee16559a7376f5891 /src/core/hle/service/bcat/backend/backend.h | |
parent | nvflinger/buffer_queue: Remove use of a global system accessor (diff) | |
download | yuzu-cc1d7048b590a6f39ddf6d3065197ce475912403.tar yuzu-cc1d7048b590a6f39ddf6d3065197ce475912403.tar.gz yuzu-cc1d7048b590a6f39ddf6d3065197ce475912403.tar.bz2 yuzu-cc1d7048b590a6f39ddf6d3065197ce475912403.tar.lz yuzu-cc1d7048b590a6f39ddf6d3065197ce475912403.tar.xz yuzu-cc1d7048b590a6f39ddf6d3065197ce475912403.tar.zst yuzu-cc1d7048b590a6f39ddf6d3065197ce475912403.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/bcat/backend/backend.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/core/hle/service/bcat/backend/backend.h b/src/core/hle/service/bcat/backend/backend.h index 51dbd3316..ea4b16ad0 100644 --- a/src/core/hle/service/bcat/backend/backend.h +++ b/src/core/hle/service/bcat/backend/backend.h @@ -15,6 +15,14 @@ #include "core/hle/kernel/writable_event.h" #include "core/hle/result.h" +namespace Core { +class System; +} + +namespace Kernel { +class KernelCore; +} + namespace Service::BCAT { struct DeliveryCacheProgressImpl; @@ -88,7 +96,7 @@ public: void FinishDownload(ResultCode result); private: - explicit ProgressServiceBackend(std::string_view event_name); + explicit ProgressServiceBackend(Kernel::KernelCore& kernel, std::string_view event_name); Kernel::SharedPtr<Kernel::ReadableEvent> GetEvent() const; DeliveryCacheProgressImpl& GetImpl(); @@ -145,6 +153,6 @@ public: std::optional<std::vector<u8>> GetLaunchParameter(TitleIDVersion title) override; }; -std::unique_ptr<Backend> CreateBackendFromSettings(DirectoryGetter getter); +std::unique_ptr<Backend> CreateBackendFromSettings(Core::System& system, DirectoryGetter getter); } // namespace Service::BCAT |