summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/am
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2019-10-01 15:13:09 +0200
committerZach Hilman <zachhilman@gmail.com>2019-10-01 15:13:09 +0200
commit19c466dfb1f997eaa16fc9d9b832aaf3321adc40 (patch)
treef5aa993c55239c4d5bb8af83496895fe9f98b7b0 /src/core/hle/service/am
parentboxcat: Implement events global field (diff)
downloadyuzu-19c466dfb1f997eaa16fc9d9b832aaf3321adc40.tar
yuzu-19c466dfb1f997eaa16fc9d9b832aaf3321adc40.tar.gz
yuzu-19c466dfb1f997eaa16fc9d9b832aaf3321adc40.tar.bz2
yuzu-19c466dfb1f997eaa16fc9d9b832aaf3321adc40.tar.lz
yuzu-19c466dfb1f997eaa16fc9d9b832aaf3321adc40.tar.xz
yuzu-19c466dfb1f997eaa16fc9d9b832aaf3321adc40.tar.zst
yuzu-19c466dfb1f997eaa16fc9d9b832aaf3321adc40.zip
Diffstat (limited to 'src/core/hle/service/am')
-rw-r--r--src/core/hle/service/am/am.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hle/service/am/am.cpp b/src/core/hle/service/am/am.cpp
index 79f9a393e..34409e0c3 100644
--- a/src/core/hle/service/am/am.cpp
+++ b/src/core/hle/service/am/am.cpp
@@ -1140,7 +1140,8 @@ 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(&FileSystem::GetBCATDirectory);
+ const auto backend = BCAT::CreateBackendFromSettings(
+ [this](u64 tid) { return system.GetFileSystemController().GetBCATDirectory(tid); });
const auto build_id_full = Core::System::GetInstance().GetCurrentProcessBuildID();
u64 build_id{};
std::memcpy(&build_id, build_id_full.data(), sizeof(u64));