summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/am
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-10-12 15:23:40 +0200
committerLioncash <mathew1800@gmail.com>2019-10-15 22:39:27 +0200
commitcc1d7048b590a6f39ddf6d3065197ce475912403 (patch)
treea73e2f8ca83cde4a24436cdee16559a7376f5891 /src/core/hle/service/am
parentnvflinger/buffer_queue: Remove use of a global system accessor (diff)
downloadyuzu-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 'src/core/hle/service/am')
-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));