summaryrefslogtreecommitdiff
path: root/src/core/hle/service/lm
diff options
context:
space:
mode:
authorGravatar Morph2021-05-21 01:05:04 -0400
committerGravatar Morph2021-06-02 00:39:27 -0400
commit12c1766997f2596b4b1b1a6a411e4f6d56605ee7 (patch)
treee718a0f18be8aaf664ebdcd197af513e5a118b72 /src/core/hle/service/lm
parentMerge pull request #6395 from lioncash/result-move (diff)
downloadyuzu-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/lm')
-rw-r--r--src/core/hle/service/lm/lm.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/service/lm/lm.cpp b/src/core/hle/service/lm/lm.cpp
index 9bcf8870d..311e4fb2d 100644
--- a/src/core/hle/service/lm/lm.cpp
+++ b/src/core/hle/service/lm/lm.cpp
@@ -84,7 +84,7 @@ private:
84 84
85 // This function only succeeds - Get that out of the way 85 // This function only succeeds - Get that out of the way
86 IPC::ResponseBuilder rb{ctx, 2}; 86 IPC::ResponseBuilder rb{ctx, 2};
87 rb.Push(RESULT_SUCCESS); 87 rb.Push(ResultSuccess);
88 88
89 if (data.size() < sizeof(LogPacketHeader)) { 89 if (data.size() < sizeof(LogPacketHeader)) {
90 LOG_ERROR(Service_LM, "Data size is too small for header! size={}", data.size()); 90 LOG_ERROR(Service_LM, "Data size is too small for header! size={}", data.size());
@@ -141,7 +141,7 @@ private:
141 destination = log_destination; 141 destination = log_destination;
142 142
143 IPC::ResponseBuilder rb{ctx, 2}; 143 IPC::ResponseBuilder rb{ctx, 2};
144 rb.Push(RESULT_SUCCESS); 144 rb.Push(ResultSuccess);
145 } 145 }
146 146
147 u64 ReadLeb128(const std::vector<u8>& data, std::size_t& offset) { 147 u64 ReadLeb128(const std::vector<u8>& data, std::size_t& offset) {
@@ -357,7 +357,7 @@ private:
357 LOG_DEBUG(Service_LM, "called"); 357 LOG_DEBUG(Service_LM, "called");
358 358
359 IPC::ResponseBuilder rb{ctx, 2, 0, 1}; 359 IPC::ResponseBuilder rb{ctx, 2, 0, 1};
360 rb.Push(RESULT_SUCCESS); 360 rb.Push(ResultSuccess);
361 rb.PushIpcInterface<ILogger>(system); 361 rb.PushIpcInterface<ILogger>(system);
362 } 362 }
363}; 363};