summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/am
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-10-06 19:02:23 +0200
committerLioncash <mathew1800@gmail.com>2019-10-06 19:42:23 +0200
commit69f16ba50e3c52a17405670b976ac4ba63f58021 (patch)
treee64b63528a155da323ea02039ede638fb6994ecd /src/core/hle/service/am
parentMerge pull request #2942 from ReinUsesLisp/clang-warnings (diff)
downloadyuzu-69f16ba50e3c52a17405670b976ac4ba63f58021.tar
yuzu-69f16ba50e3c52a17405670b976ac4ba63f58021.tar.gz
yuzu-69f16ba50e3c52a17405670b976ac4ba63f58021.tar.bz2
yuzu-69f16ba50e3c52a17405670b976ac4ba63f58021.tar.lz
yuzu-69f16ba50e3c52a17405670b976ac4ba63f58021.tar.xz
yuzu-69f16ba50e3c52a17405670b976ac4ba63f58021.tar.zst
yuzu-69f16ba50e3c52a17405670b976ac4ba63f58021.zip
Diffstat (limited to 'src/core/hle/service/am')
-rw-r--r--src/core/hle/service/am/am.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/service/am/am.cpp b/src/core/hle/service/am/am.cpp
index 34409e0c3..941ebc93a 100644
--- a/src/core/hle/service/am/am.cpp
+++ b/src/core/hle/service/am/am.cpp
@@ -1142,12 +1142,12 @@ void IApplicationFunctions::PopLaunchParameter(Kernel::HLERequestContext& ctx) {
if (kind == LaunchParameterKind::ApplicationSpecific && !launch_popped_application_specific) {
const auto backend = BCAT::CreateBackendFromSettings(
[this](u64 tid) { return system.GetFileSystemController().GetBCATDirectory(tid); });
- const auto build_id_full = Core::System::GetInstance().GetCurrentProcessBuildID();
+ const auto build_id_full = system.GetCurrentProcessBuildID();
u64 build_id{};
std::memcpy(&build_id, build_id_full.data(), sizeof(u64));
const auto data =
- backend->GetLaunchParameter({Core::CurrentProcess()->GetTitleID(), build_id});
+ backend->GetLaunchParameter({system.CurrentProcess()->GetTitleID(), build_id});
if (data.has_value()) {
IPC::ResponseBuilder rb{ctx, 2, 0, 1};
@@ -1200,7 +1200,7 @@ void IApplicationFunctions::EnsureSaveData(Kernel::HLERequestContext& ctx) {
LOG_DEBUG(Service_AM, "called, uid={:016X}{:016X}", user_id[1], user_id[0]);
FileSys::SaveDataDescriptor descriptor{};
- descriptor.title_id = Core::CurrentProcess()->GetTitleID();
+ descriptor.title_id = system.CurrentProcess()->GetTitleID();
descriptor.user_id = user_id;
descriptor.type = FileSys::SaveDataType::SaveData;
const auto res = system.GetFileSystemController().CreateSaveData(