summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/am/am.cpp
diff options
context:
space:
mode:
authorZach Hilman <DarkLordZach@users.noreply.github.com>2019-10-07 02:47:48 +0200
committerGitHub <noreply@github.com>2019-10-07 02:47:48 +0200
commit5326d3cb3a75a1f7df531e47cf0acadc3c5db32b (patch)
tree83697ca2dba90470ba59eff2f56e71769b03e3d9 /src/core/hle/service/am/am.cpp
parentMerge pull request #2952 from lioncash/warning (diff)
parentcore/core: Remove unused header (diff)
downloadyuzu-5326d3cb3a75a1f7df531e47cf0acadc3c5db32b.tar
yuzu-5326d3cb3a75a1f7df531e47cf0acadc3c5db32b.tar.gz
yuzu-5326d3cb3a75a1f7df531e47cf0acadc3c5db32b.tar.bz2
yuzu-5326d3cb3a75a1f7df531e47cf0acadc3c5db32b.tar.lz
yuzu-5326d3cb3a75a1f7df531e47cf0acadc3c5db32b.tar.xz
yuzu-5326d3cb3a75a1f7df531e47cf0acadc3c5db32b.tar.zst
yuzu-5326d3cb3a75a1f7df531e47cf0acadc3c5db32b.zip
Diffstat (limited to 'src/core/hle/service/am/am.cpp')
-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(