From ddb8d1a14964117e48b38d374b38d097279950da Mon Sep 17 00:00:00 2001 From: pineappleEA Date: Mon, 29 Jan 2024 23:27:53 +0100 Subject: [PATCH] early-access version 4099 --- README.md | 2 +- src/core/hle/service/mii/mii.cpp | 15 ++++++++------- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index e55f5ccb0..b23d30ff0 100755 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ yuzu emulator early access ============= -This is the source code for early-access 4098. +This is the source code for early-access 4099. ## Legal Notice diff --git a/src/core/hle/service/mii/mii.cpp b/src/core/hle/service/mii/mii.cpp index 5521cc5c4..568c65a72 100755 --- a/src/core/hle/service/mii/mii.cpp +++ b/src/core/hle/service/mii/mii.cpp @@ -111,7 +111,8 @@ private: R_RETURN(result); } - Result UpdateLatest(Out out_char_info, CharInfo& char_info, SourceFlag source_flag) { + Result UpdateLatest(Out out_char_info, const CharInfo& char_info, + SourceFlag source_flag) { LOG_INFO(Service_Mii, "called with source_flag={}", source_flag); R_RETURN(manager->UpdateLatest(metadata, *out_char_info, char_info, source_flag)); @@ -159,7 +160,7 @@ private: R_RETURN(result); } - Result UpdateLatest1(Out out_store_data, StoreData& store_data, + Result UpdateLatest1(Out out_store_data, const StoreData& store_data, SourceFlag source_flag) { LOG_INFO(Service_Mii, "called with source_flag={}", source_flag); R_UNLESS(is_system, ResultPermissionDenied); @@ -243,7 +244,7 @@ private: R_SUCCEED(); } - Result GetIndex(Out out_index, CharInfo& char_info) { + Result GetIndex(Out out_index, const CharInfo& char_info) { LOG_DEBUG(Service_Mii, "called"); R_RETURN(manager->GetIndex(metadata, char_info, *out_index)); @@ -257,25 +258,25 @@ private: R_SUCCEED(); } - Result Convert(Out out_char_info, Ver3StoreData& mii_v3) { + Result Convert(Out out_char_info, const Ver3StoreData& mii_v3) { LOG_INFO(Service_Mii, "called"); R_RETURN(manager->ConvertV3ToCharInfo(*out_char_info, mii_v3)); } - Result ConvertCoreDataToCharInfo(Out out_char_info, CoreData& core_data) { + Result ConvertCoreDataToCharInfo(Out out_char_info, const CoreData& core_data) { LOG_INFO(Service_Mii, "called"); R_RETURN(manager->ConvertCoreDataToCharInfo(*out_char_info, core_data)); } - Result ConvertCharInfoToCoreData(Out out_core_data, CharInfo& char_info) { + Result ConvertCharInfoToCoreData(Out out_core_data, const CharInfo& char_info) { LOG_INFO(Service_Mii, "called"); R_RETURN(manager->ConvertCharInfoToCoreData(*out_core_data, char_info)); } - Result Append(CharInfo& char_info) { + Result Append(const CharInfo& char_info) { LOG_INFO(Service_Mii, "called"); R_RETURN(manager->Append(metadata, char_info));