summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/bcat
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2021-11-04 01:32:26 +0100
committerMorph <39850852+Morph1984@users.noreply.github.com>2021-11-04 21:59:39 +0100
commita6e6a5ac388b0ef5cde2a1c70921548b9b7a2fe9 (patch)
tree857364fbaf70a8ced3d5472b74890f7402f26bf4 /src/core/hle/service/bcat
parentgeneral: Rename GetTitleID to GetProgramID (diff)
downloadyuzu-a6e6a5ac388b0ef5cde2a1c70921548b9b7a2fe9.tar
yuzu-a6e6a5ac388b0ef5cde2a1c70921548b9b7a2fe9.tar.gz
yuzu-a6e6a5ac388b0ef5cde2a1c70921548b9b7a2fe9.tar.bz2
yuzu-a6e6a5ac388b0ef5cde2a1c70921548b9b7a2fe9.tar.lz
yuzu-a6e6a5ac388b0ef5cde2a1c70921548b9b7a2fe9.tar.xz
yuzu-a6e6a5ac388b0ef5cde2a1c70921548b9b7a2fe9.tar.zst
yuzu-a6e6a5ac388b0ef5cde2a1c70921548b9b7a2fe9.zip
Diffstat (limited to 'src/core/hle/service/bcat')
-rw-r--r--src/core/hle/service/bcat/bcat_module.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/core/hle/service/bcat/bcat_module.cpp b/src/core/hle/service/bcat/bcat_module.cpp
index c2feba887..500e7e52d 100644
--- a/src/core/hle/service/bcat/bcat_module.cpp
+++ b/src/core/hle/service/bcat/bcat_module.cpp
@@ -11,7 +11,6 @@
#include "core/core.h"
#include "core/file_sys/vfs.h"
#include "core/hle/ipc_helpers.h"
-#include "core/hle/kernel/k_process.h"
#include "core/hle/kernel/k_readable_event.h"
#include "core/hle/service/bcat/backend/backend.h"
#include "core/hle/service/bcat/bcat.h"
@@ -178,7 +177,7 @@ private:
void RequestSyncDeliveryCache(Kernel::HLERequestContext& ctx) {
LOG_DEBUG(Service_BCAT, "called");
- backend.Synchronize({system.CurrentProcess()->GetProgramID(),
+ backend.Synchronize({system.GetCurrentProcessProgramID(),
GetCurrentBuildID(system.GetCurrentProcessBuildID())},
GetProgressBackend(SyncType::Normal));
@@ -195,7 +194,7 @@ private:
LOG_DEBUG(Service_BCAT, "called, name={}", name);
- backend.SynchronizeDirectory({system.CurrentProcess()->GetProgramID(),
+ backend.SynchronizeDirectory({system.GetCurrentProcessProgramID(),
GetCurrentBuildID(system.GetCurrentProcessBuildID())},
name, GetProgressBackend(SyncType::Directory));
@@ -556,7 +555,7 @@ private:
void Module::Interface::CreateDeliveryCacheStorageService(Kernel::HLERequestContext& ctx) {
LOG_DEBUG(Service_BCAT, "called");
- const auto title_id = system.CurrentProcess()->GetProgramID();
+ const auto title_id = system.GetCurrentProcessProgramID();
IPC::ResponseBuilder rb{ctx, 2, 0, 1};
rb.Push(ResultSuccess);
rb.PushIpcInterface<IDeliveryCacheStorageService>(system, fsc.GetBCATDirectory(title_id));