summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/am/am.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2019-10-15 23:49:12 +0200
committerGitHub <noreply@github.com>2019-10-15 23:49:12 +0200
commit2299950de13570e93565fa88c97221863e76337d (patch)
tree32c0f858382fbc9f49b7a086453fe86a9a6262ff /src/core/hle/service/am/am.cpp
parentMerge pull request #2977 from lioncash/algorithm (diff)
parentvideo_core/gpu: Remove use of the global system accessor (diff)
downloadyuzu-2299950de13570e93565fa88c97221863e76337d.tar
yuzu-2299950de13570e93565fa88c97221863e76337d.tar.gz
yuzu-2299950de13570e93565fa88c97221863e76337d.tar.bz2
yuzu-2299950de13570e93565fa88c97221863e76337d.tar.lz
yuzu-2299950de13570e93565fa88c97221863e76337d.tar.xz
yuzu-2299950de13570e93565fa88c97221863e76337d.tar.zst
yuzu-2299950de13570e93565fa88c97221863e76337d.zip
Diffstat (limited to 'src/core/hle/service/am/am.cpp')
-rw-r--r--src/core/hle/service/am/am.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/hle/service/am/am.cpp b/src/core/hle/service/am/am.cpp
index 941ebc93a..3a32d5b41 100644
--- a/src/core/hle/service/am/am.cpp
+++ b/src/core/hle/service/am/am.cpp
@@ -1140,8 +1140,9 @@ void IApplicationFunctions::PopLaunchParameter(Kernel::HLERequestContext& ctx) {
LOG_DEBUG(Service_AM, "called, kind={:08X}", static_cast<u8>(kind));
if (kind == LaunchParameterKind::ApplicationSpecific && !launch_popped_application_specific) {
- const auto backend = BCAT::CreateBackendFromSettings(
- [this](u64 tid) { return system.GetFileSystemController().GetBCATDirectory(tid); });
+ const auto backend = BCAT::CreateBackendFromSettings(system, [this](u64 tid) {
+ return system.GetFileSystemController().GetBCATDirectory(tid);
+ });
const auto build_id_full = system.GetCurrentProcessBuildID();
u64 build_id{};
std::memcpy(&build_id, build_id_full.data(), sizeof(u64));