mirror of
https://github.com/yuzu-emu/yuzu-android
synced 2024-12-23 17:31:21 -08:00
service: set: Don't allow invalid mii author id
This commit is contained in:
parent
93a3342841
commit
a7620a29be
@ -1038,6 +1038,11 @@ void ISystemSettingsServer::SetBluetoothEnableFlag(HLERequestContext& ctx) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void ISystemSettingsServer::GetMiiAuthorId(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={}",
|
LOG_INFO(Service_SET, "called, author_id={}",
|
||||||
m_system_settings.mii_author_id.FormattedString());
|
m_system_settings.mii_author_id.FormattedString());
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user