Browse Source
Merge pull request #12733 from german77/settings_services
service: set: Don't allow invalid mii author id
pull/15/merge
Charles Lombardo
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
5 additions and
0 deletions
-
src/core/hle/service/set/system_settings_server.cpp
|
|
|
@ -1038,6 +1038,11 @@ void ISystemSettingsServer::SetBluetoothEnableFlag(HLERequestContext& ctx) { |
|
|
|
} |
|
|
|
|
|
|
|
void ISystemSettingsServer::GetMiiAuthorId(HLERequestContext& ctx) { |
|
|
|
if (m_system_settings.mii_author_id.IsInvalid()) { |
|
|
|
m_system_settings.mii_author_id = Common::UUID::MakeDefault(); |
|
|
|
SetSaveNeeded(); |
|
|
|
} |
|
|
|
|
|
|
|
LOG_INFO(Service_SET, "called, author_id={}", |
|
|
|
m_system_settings.mii_author_id.FormattedString()); |
|
|
|
|
|
|
|
|