diff options
| author | 2019-05-01 22:41:32 -0400 | |
|---|---|---|
| committer | 2019-09-30 17:27:23 -0400 | |
| commit | ea17b294ea04a00d94025cda97b2cd4d5f730b17 (patch) | |
| tree | 6a876c4998bd18b4a851b012b8522372c3f9a556 /src | |
| parent | am: Unstub PopLaunchParameter and add bcat connection for app-specific data (diff) | |
| download | yuzu-ea17b294ea04a00d94025cda97b2cd4d5f730b17.tar.gz yuzu-ea17b294ea04a00d94025cda97b2cd4d5f730b17.tar.xz yuzu-ea17b294ea04a00d94025cda97b2cd4d5f730b17.zip | |
bcat: Expose CreateBackendFromSettings helper function
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/hle/service/bcat/backend/backend.h | 2 | ||||
| -rw-r--r-- | src/core/hle/service/bcat/module.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/bcat/backend/backend.h b/src/core/hle/service/bcat/backend/backend.h index 2e9511f3f..e412819e1 100644 --- a/src/core/hle/service/bcat/backend/backend.h +++ b/src/core/hle/service/bcat/backend/backend.h | |||
| @@ -50,4 +50,6 @@ public: | |||
| 50 | void SetPassphrase(u64 title_id, const Passphrase& passphrase) override; | 50 | void SetPassphrase(u64 title_id, const Passphrase& passphrase) override; |
| 51 | }; | 51 | }; |
| 52 | 52 | ||
| 53 | std::unique_ptr<Backend> CreateBackendFromSettings(DirectoryGetter getter); | ||
| 54 | |||
| 53 | } // namespace Service::BCAT | 55 | } // namespace Service::BCAT |
diff --git a/src/core/hle/service/bcat/module.cpp b/src/core/hle/service/bcat/module.cpp index 9244c265a..a8d545992 100644 --- a/src/core/hle/service/bcat/module.cpp +++ b/src/core/hle/service/bcat/module.cpp | |||
| @@ -589,7 +589,6 @@ void Module::Interface::CreateDeliveryCacheStorageServiceWithApplicationId( | |||
| 589 | Service::FileSystem::GetBCATDirectory(title_id)); | 589 | Service::FileSystem::GetBCATDirectory(title_id)); |
| 590 | } | 590 | } |
| 591 | 591 | ||
| 592 | namespace { | ||
| 593 | std::unique_ptr<Backend> CreateBackendFromSettings(DirectoryGetter getter) { | 592 | std::unique_ptr<Backend> CreateBackendFromSettings(DirectoryGetter getter) { |
| 594 | const auto backend = Settings::values.bcat_backend; | 593 | const auto backend = Settings::values.bcat_backend; |
| 595 | 594 | ||
| @@ -600,7 +599,6 @@ std::unique_ptr<Backend> CreateBackendFromSettings(DirectoryGetter getter) { | |||
| 600 | 599 | ||
| 601 | return std::make_unique<NullBackend>(std::move(getter)); | 600 | return std::make_unique<NullBackend>(std::move(getter)); |
| 602 | } | 601 | } |
| 603 | } // Anonymous namespace | ||
| 604 | 602 | ||
| 605 | Module::Interface::Interface(std::shared_ptr<Module> module, const char* name) | 603 | Module::Interface::Interface(std::shared_ptr<Module> module, const char* name) |
| 606 | : ServiceFramework(name), module(std::move(module)), | 604 | : ServiceFramework(name), module(std::move(module)), |