mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-20 18:45:45 +00:00
service: set: Don't allow invalid mii author id
This commit is contained in:
parent
ab11c4f693
commit
93e5f46b63
1 changed files with 5 additions and 0 deletions
|
@ -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());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue