diff options
| author | 2021-05-21 01:05:04 -0400 | |
|---|---|---|
| committer | 2021-06-02 00:39:27 -0400 | |
| commit | 12c1766997f2596b4b1b1a6a411e4f6d56605ee7 (patch) | |
| tree | e718a0f18be8aaf664ebdcd197af513e5a118b72 /src/core/hle/service/glue | |
| parent | Merge pull request #6395 from lioncash/result-move (diff) | |
| download | yuzu-12c1766997f2596b4b1b1a6a411e4f6d56605ee7.tar.gz yuzu-12c1766997f2596b4b1b1a6a411e4f6d56605ee7.tar.xz yuzu-12c1766997f2596b4b1b1a6a411e4f6d56605ee7.zip | |
general: Replace RESULT_SUCCESS with ResultSuccess
Transition to PascalCase for result names.
Diffstat (limited to 'src/core/hle/service/glue')
| -rw-r--r-- | src/core/hle/service/glue/arp.cpp | 16 | ||||
| -rw-r--r-- | src/core/hle/service/glue/bgtc.cpp | 2 | ||||
| -rw-r--r-- | src/core/hle/service/glue/manager.cpp | 4 |
3 files changed, 11 insertions, 11 deletions
diff --git a/src/core/hle/service/glue/arp.cpp b/src/core/hle/service/glue/arp.cpp index 6ad62ee5a..ca25df67e 100644 --- a/src/core/hle/service/glue/arp.cpp +++ b/src/core/hle/service/glue/arp.cpp | |||
| @@ -79,7 +79,7 @@ void ARP_R::GetApplicationLaunchProperty(Kernel::HLERequestContext& ctx) { | |||
| 79 | } | 79 | } |
| 80 | 80 | ||
| 81 | IPC::ResponseBuilder rb{ctx, 6}; | 81 | IPC::ResponseBuilder rb{ctx, 6}; |
| 82 | rb.Push(RESULT_SUCCESS); | 82 | rb.Push(ResultSuccess); |
| 83 | rb.PushRaw(*res); | 83 | rb.PushRaw(*res); |
| 84 | } | 84 | } |
| 85 | 85 | ||
| @@ -99,7 +99,7 @@ void ARP_R::GetApplicationLaunchPropertyWithApplicationId(Kernel::HLERequestCont | |||
| 99 | } | 99 | } |
| 100 | 100 | ||
| 101 | IPC::ResponseBuilder rb{ctx, 6}; | 101 | IPC::ResponseBuilder rb{ctx, 6}; |
| 102 | rb.Push(RESULT_SUCCESS); | 102 | rb.Push(ResultSuccess); |
| 103 | rb.PushRaw(*res); | 103 | rb.PushRaw(*res); |
| 104 | } | 104 | } |
| 105 | 105 | ||
| @@ -129,7 +129,7 @@ void ARP_R::GetApplicationControlProperty(Kernel::HLERequestContext& ctx) { | |||
| 129 | ctx.WriteBuffer(*res); | 129 | ctx.WriteBuffer(*res); |
| 130 | 130 | ||
| 131 | IPC::ResponseBuilder rb{ctx, 2}; | 131 | IPC::ResponseBuilder rb{ctx, 2}; |
| 132 | rb.Push(RESULT_SUCCESS); | 132 | rb.Push(ResultSuccess); |
| 133 | } | 133 | } |
| 134 | 134 | ||
| 135 | void ARP_R::GetApplicationControlPropertyWithApplicationId(Kernel::HLERequestContext& ctx) { | 135 | void ARP_R::GetApplicationControlPropertyWithApplicationId(Kernel::HLERequestContext& ctx) { |
| @@ -150,7 +150,7 @@ void ARP_R::GetApplicationControlPropertyWithApplicationId(Kernel::HLERequestCon | |||
| 150 | ctx.WriteBuffer(*res); | 150 | ctx.WriteBuffer(*res); |
| 151 | 151 | ||
| 152 | IPC::ResponseBuilder rb{ctx, 2}; | 152 | IPC::ResponseBuilder rb{ctx, 2}; |
| 153 | rb.Push(RESULT_SUCCESS); | 153 | rb.Push(ResultSuccess); |
| 154 | } | 154 | } |
| 155 | 155 | ||
| 156 | class IRegistrar final : public ServiceFramework<IRegistrar> { | 156 | class IRegistrar final : public ServiceFramework<IRegistrar> { |
| @@ -198,7 +198,7 @@ private: | |||
| 198 | issued = true; | 198 | issued = true; |
| 199 | 199 | ||
| 200 | IPC::ResponseBuilder rb{ctx, 2}; | 200 | IPC::ResponseBuilder rb{ctx, 2}; |
| 201 | rb.Push(RESULT_SUCCESS); | 201 | rb.Push(ResultSuccess); |
| 202 | } | 202 | } |
| 203 | 203 | ||
| 204 | void SetApplicationLaunchProperty(Kernel::HLERequestContext& ctx) { | 204 | void SetApplicationLaunchProperty(Kernel::HLERequestContext& ctx) { |
| @@ -217,7 +217,7 @@ private: | |||
| 217 | launch = rp.PopRaw<ApplicationLaunchProperty>(); | 217 | launch = rp.PopRaw<ApplicationLaunchProperty>(); |
| 218 | 218 | ||
| 219 | IPC::ResponseBuilder rb{ctx, 2}; | 219 | IPC::ResponseBuilder rb{ctx, 2}; |
| 220 | rb.Push(RESULT_SUCCESS); | 220 | rb.Push(ResultSuccess); |
| 221 | } | 221 | } |
| 222 | 222 | ||
| 223 | void SetApplicationControlProperty(Kernel::HLERequestContext& ctx) { | 223 | void SetApplicationControlProperty(Kernel::HLERequestContext& ctx) { |
| @@ -235,7 +235,7 @@ private: | |||
| 235 | control = ctx.ReadBuffer(); | 235 | control = ctx.ReadBuffer(); |
| 236 | 236 | ||
| 237 | IPC::ResponseBuilder rb{ctx, 2}; | 237 | IPC::ResponseBuilder rb{ctx, 2}; |
| 238 | rb.Push(RESULT_SUCCESS); | 238 | rb.Push(ResultSuccess); |
| 239 | } | 239 | } |
| 240 | 240 | ||
| 241 | IssuerFn issue_process_id; | 241 | IssuerFn issue_process_id; |
| @@ -273,7 +273,7 @@ void ARP_W::AcquireRegistrar(Kernel::HLERequestContext& ctx) { | |||
| 273 | }); | 273 | }); |
| 274 | 274 | ||
| 275 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; | 275 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; |
| 276 | rb.Push(RESULT_SUCCESS); | 276 | rb.Push(ResultSuccess); |
| 277 | rb.PushIpcInterface(registrar); | 277 | rb.PushIpcInterface(registrar); |
| 278 | } | 278 | } |
| 279 | 279 | ||
diff --git a/src/core/hle/service/glue/bgtc.cpp b/src/core/hle/service/glue/bgtc.cpp index daecfff15..564c3b750 100644 --- a/src/core/hle/service/glue/bgtc.cpp +++ b/src/core/hle/service/glue/bgtc.cpp | |||
| @@ -25,7 +25,7 @@ void BGTC_T::OpenTaskService(Kernel::HLERequestContext& ctx) { | |||
| 25 | LOG_DEBUG(Service_BGTC, "called"); | 25 | LOG_DEBUG(Service_BGTC, "called"); |
| 26 | 26 | ||
| 27 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; | 27 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; |
| 28 | rb.Push(RESULT_SUCCESS); | 28 | rb.Push(ResultSuccess); |
| 29 | rb.PushIpcInterface<ITaskService>(system); | 29 | rb.PushIpcInterface<ITaskService>(system); |
| 30 | } | 30 | } |
| 31 | 31 | ||
diff --git a/src/core/hle/service/glue/manager.cpp b/src/core/hle/service/glue/manager.cpp index 6da52d2d6..9b1754cf8 100644 --- a/src/core/hle/service/glue/manager.cpp +++ b/src/core/hle/service/glue/manager.cpp | |||
| @@ -54,7 +54,7 @@ ResultCode ARPManager::Register(u64 title_id, ApplicationLaunchProperty launch, | |||
| 54 | } | 54 | } |
| 55 | 55 | ||
| 56 | entries.insert_or_assign(title_id, MapEntry{launch, std::move(control)}); | 56 | entries.insert_or_assign(title_id, MapEntry{launch, std::move(control)}); |
| 57 | return RESULT_SUCCESS; | 57 | return ResultSuccess; |
| 58 | } | 58 | } |
| 59 | 59 | ||
| 60 | ResultCode ARPManager::Unregister(u64 title_id) { | 60 | ResultCode ARPManager::Unregister(u64 title_id) { |
| @@ -68,7 +68,7 @@ ResultCode ARPManager::Unregister(u64 title_id) { | |||
| 68 | } | 68 | } |
| 69 | 69 | ||
| 70 | entries.erase(iter); | 70 | entries.erase(iter); |
| 71 | return RESULT_SUCCESS; | 71 | return ResultSuccess; |
| 72 | } | 72 | } |
| 73 | 73 | ||
| 74 | void ARPManager::ResetAll() { | 74 | void ARPManager::ResetAll() { |