fix(set): stub ISettingsServer function 12 to fix AVGN 8-bit crash

Signed-off-by: Zephyron <zephyron@citron-emu.org>
This commit is contained in:
Zephyron
2025-11-04 17:43:52 +10:00
parent b8021fa7e7
commit 4211689683
2 changed files with 8 additions and 0 deletions

View File

@@ -101,6 +101,7 @@ ISettingsServer::ISettingsServer(Core::System& system_) : ServiceFramework{syste
{9, C<&ISettingsServer::GetKeyCodeMap2>, "GetKeyCodeMap2"},
{10, nullptr, "GetFirmwareVersionForDebug"},
{11, C<&ISettingsServer::GetDeviceNickName>, "GetDeviceNickName"},
{12, C<&ISettingsServer::Unknown12>, "Unknown12"},
};
// clang-format on
@@ -239,4 +240,9 @@ Result ISettingsServer::GetDeviceNickName(
R_SUCCEED();
}
Result ISettingsServer::Unknown12() {
LOG_WARNING(Service_SET, "(STUBBED) called");
R_SUCCEED();
}
} // namespace Service::Set

View File

@@ -46,6 +46,8 @@ private:
Result GetDeviceNickName(
OutLargeData<std::array<u8, 0x80>, BufferAttr_HipcMapAlias> out_device_name);
Result Unknown12();
};
} // namespace Service::Set