diff options
| author | 2023-02-13 11:21:43 -0500 | |
|---|---|---|
| committer | 2023-02-13 19:03:12 -0500 | |
| commit | ceda2d280e8a3030c1e23083c5cea9158387fe4c (patch) | |
| tree | 8041460840ed81d4cb74d87eecfb8fb720cdfa15 /src/core/hle/service/bcat | |
| parent | kernel: use GetCurrentProcess (diff) | |
| download | yuzu-ceda2d280e8a3030c1e23083c5cea9158387fe4c.tar.gz yuzu-ceda2d280e8a3030c1e23083c5cea9158387fe4c.tar.xz yuzu-ceda2d280e8a3030c1e23083c5cea9158387fe4c.zip | |
general: rename CurrentProcess to ApplicationProcess
Diffstat (limited to 'src/core/hle/service/bcat')
| -rw-r--r-- | src/core/hle/service/bcat/bcat_module.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/hle/service/bcat/bcat_module.cpp b/src/core/hle/service/bcat/bcat_module.cpp index cbe690a5d..6e6fed227 100644 --- a/src/core/hle/service/bcat/bcat_module.cpp +++ b/src/core/hle/service/bcat/bcat_module.cpp | |||
| @@ -176,8 +176,8 @@ private: | |||
| 176 | void RequestSyncDeliveryCache(Kernel::HLERequestContext& ctx) { | 176 | void RequestSyncDeliveryCache(Kernel::HLERequestContext& ctx) { |
| 177 | LOG_DEBUG(Service_BCAT, "called"); | 177 | LOG_DEBUG(Service_BCAT, "called"); |
| 178 | 178 | ||
| 179 | backend.Synchronize({system.GetCurrentProcessProgramID(), | 179 | backend.Synchronize({system.GetApplicationProcessProgramID(), |
| 180 | GetCurrentBuildID(system.GetCurrentProcessBuildID())}, | 180 | GetCurrentBuildID(system.GetApplicationProcessBuildID())}, |
| 181 | GetProgressBackend(SyncType::Normal)); | 181 | GetProgressBackend(SyncType::Normal)); |
| 182 | 182 | ||
| 183 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; | 183 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; |
| @@ -193,8 +193,8 @@ private: | |||
| 193 | 193 | ||
| 194 | LOG_DEBUG(Service_BCAT, "called, name={}", name); | 194 | LOG_DEBUG(Service_BCAT, "called, name={}", name); |
| 195 | 195 | ||
| 196 | backend.SynchronizeDirectory({system.GetCurrentProcessProgramID(), | 196 | backend.SynchronizeDirectory({system.GetApplicationProcessProgramID(), |
| 197 | GetCurrentBuildID(system.GetCurrentProcessBuildID())}, | 197 | GetCurrentBuildID(system.GetApplicationProcessBuildID())}, |
| 198 | name, GetProgressBackend(SyncType::Directory)); | 198 | name, GetProgressBackend(SyncType::Directory)); |
| 199 | 199 | ||
| 200 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; | 200 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; |
| @@ -554,7 +554,7 @@ private: | |||
| 554 | void Module::Interface::CreateDeliveryCacheStorageService(Kernel::HLERequestContext& ctx) { | 554 | void Module::Interface::CreateDeliveryCacheStorageService(Kernel::HLERequestContext& ctx) { |
| 555 | LOG_DEBUG(Service_BCAT, "called"); | 555 | LOG_DEBUG(Service_BCAT, "called"); |
| 556 | 556 | ||
| 557 | const auto title_id = system.GetCurrentProcessProgramID(); | 557 | const auto title_id = system.GetApplicationProcessProgramID(); |
| 558 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; | 558 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; |
| 559 | rb.Push(ResultSuccess); | 559 | rb.Push(ResultSuccess); |
| 560 | rb.PushIpcInterface<IDeliveryCacheStorageService>(system, fsc.GetBCATDirectory(title_id)); | 560 | rb.PushIpcInterface<IDeliveryCacheStorageService>(system, fsc.GetBCATDirectory(title_id)); |