mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-13 19:18:00 -05:00
bcat: Expose CreateBackendFromSettings helper function
This commit is contained in:
@ -589,7 +589,6 @@ void Module::Interface::CreateDeliveryCacheStorageServiceWithApplicationId(
|
||||
Service::FileSystem::GetBCATDirectory(title_id));
|
||||
}
|
||||
|
||||
namespace {
|
||||
std::unique_ptr<Backend> CreateBackendFromSettings(DirectoryGetter getter) {
|
||||
const auto backend = Settings::values.bcat_backend;
|
||||
|
||||
@ -600,7 +599,6 @@ std::unique_ptr<Backend> CreateBackendFromSettings(DirectoryGetter getter) {
|
||||
|
||||
return std::make_unique<NullBackend>(std::move(getter));
|
||||
}
|
||||
} // Anonymous namespace
|
||||
|
||||
Module::Interface::Interface(std::shared_ptr<Module> module, const char* name)
|
||||
: ServiceFramework(name), module(std::move(module)),
|
||||
|
Reference in New Issue
Block a user