mirror of
https://git.citron-emu.org/citron/emulator
synced 2025-12-19 10:43:33 +00:00
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:
@@ -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
|
||||
|
||||
@@ -46,6 +46,8 @@ private:
|
||||
|
||||
Result GetDeviceNickName(
|
||||
OutLargeData<std::array<u8, 0x80>, BufferAttr_HipcMapAlias> out_device_name);
|
||||
|
||||
Result Unknown12();
|
||||
};
|
||||
|
||||
} // namespace Service::Set
|
||||
|
||||
Reference in New Issue
Block a user