summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/core/hle/service/mii/mii.cpp15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/core/hle/service/mii/mii.cpp b/src/core/hle/service/mii/mii.cpp
index b4d16fed5..efb7f6e32 100644
--- a/src/core/hle/service/mii/mii.cpp
+++ b/src/core/hle/service/mii/mii.cpp
@@ -111,7 +111,8 @@ private:
111 R_RETURN(result); 111 R_RETURN(result);
112 } 112 }
113 113
114 Result UpdateLatest(Out<CharInfo> out_char_info, CharInfo& char_info, SourceFlag source_flag) { 114 Result UpdateLatest(Out<CharInfo> out_char_info, const CharInfo& char_info,
115 SourceFlag source_flag) {
115 LOG_INFO(Service_Mii, "called with source_flag={}", source_flag); 116 LOG_INFO(Service_Mii, "called with source_flag={}", source_flag);
116 117
117 R_RETURN(manager->UpdateLatest(metadata, *out_char_info, char_info, source_flag)); 118 R_RETURN(manager->UpdateLatest(metadata, *out_char_info, char_info, source_flag));
@@ -159,7 +160,7 @@ private:
159 R_RETURN(result); 160 R_RETURN(result);
160 } 161 }
161 162
162 Result UpdateLatest1(Out<StoreData> out_store_data, StoreData& store_data, 163 Result UpdateLatest1(Out<StoreData> out_store_data, const StoreData& store_data,
163 SourceFlag source_flag) { 164 SourceFlag source_flag) {
164 LOG_INFO(Service_Mii, "called with source_flag={}", source_flag); 165 LOG_INFO(Service_Mii, "called with source_flag={}", source_flag);
165 R_UNLESS(is_system, ResultPermissionDenied); 166 R_UNLESS(is_system, ResultPermissionDenied);
@@ -243,7 +244,7 @@ private:
243 R_SUCCEED(); 244 R_SUCCEED();
244 } 245 }
245 246
246 Result GetIndex(Out<s32> out_index, CharInfo& char_info) { 247 Result GetIndex(Out<s32> out_index, const CharInfo& char_info) {
247 LOG_DEBUG(Service_Mii, "called"); 248 LOG_DEBUG(Service_Mii, "called");
248 249
249 R_RETURN(manager->GetIndex(metadata, char_info, *out_index)); 250 R_RETURN(manager->GetIndex(metadata, char_info, *out_index));
@@ -257,25 +258,25 @@ private:
257 R_SUCCEED(); 258 R_SUCCEED();
258 } 259 }
259 260
260 Result Convert(Out<CharInfo> out_char_info, Ver3StoreData& mii_v3) { 261 Result Convert(Out<CharInfo> out_char_info, const Ver3StoreData& mii_v3) {
261 LOG_INFO(Service_Mii, "called"); 262 LOG_INFO(Service_Mii, "called");
262 263
263 R_RETURN(manager->ConvertV3ToCharInfo(*out_char_info, mii_v3)); 264 R_RETURN(manager->ConvertV3ToCharInfo(*out_char_info, mii_v3));
264 } 265 }
265 266
266 Result ConvertCoreDataToCharInfo(Out<CharInfo> out_char_info, CoreData& core_data) { 267 Result ConvertCoreDataToCharInfo(Out<CharInfo> out_char_info, const CoreData& core_data) {
267 LOG_INFO(Service_Mii, "called"); 268 LOG_INFO(Service_Mii, "called");
268 269
269 R_RETURN(manager->ConvertCoreDataToCharInfo(*out_char_info, core_data)); 270 R_RETURN(manager->ConvertCoreDataToCharInfo(*out_char_info, core_data));
270 } 271 }
271 272
272 Result ConvertCharInfoToCoreData(Out<CoreData> out_core_data, CharInfo& char_info) { 273 Result ConvertCharInfoToCoreData(Out<CoreData> out_core_data, const CharInfo& char_info) {
273 LOG_INFO(Service_Mii, "called"); 274 LOG_INFO(Service_Mii, "called");
274 275
275 R_RETURN(manager->ConvertCharInfoToCoreData(*out_core_data, char_info)); 276 R_RETURN(manager->ConvertCharInfoToCoreData(*out_core_data, char_info));
276 } 277 }
277 278
278 Result Append(CharInfo& char_info) { 279 Result Append(const CharInfo& char_info) {
279 LOG_INFO(Service_Mii, "called"); 280 LOG_INFO(Service_Mii, "called");
280 281
281 R_RETURN(manager->Append(metadata, char_info)); 282 R_RETURN(manager->Append(metadata, char_info));