From a4156abed737ca3be9c47f04406161851530e4e1 Mon Sep 17 00:00:00 2001 From: Adrian <78108584+AdrianCassar@users.noreply.github.com> Date: Tue, 19 Nov 2024 12:39:24 +0000 Subject: [PATCH] [XAM] XamGetLanguage Stub --- src/xenia/kernel/xam/xam_info.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/xenia/kernel/xam/xam_info.cc b/src/xenia/kernel/xam/xam_info.cc index 8dd8d4d47..02422f198 100644 --- a/src/xenia/kernel/xam/xam_info.cc +++ b/src/xenia/kernel/xam/xam_info.cc @@ -269,6 +269,9 @@ dword_result_t XGetLanguage_entry() { } DECLARE_XAM_EXPORT1(XGetLanguage, kNone, kImplemented); +dword_result_t XamGetLanguage_entry() { return cvars::user_language; } +DECLARE_XAM_EXPORT1(XamGetLanguage, kNone, kImplemented); + dword_result_t XamGetCurrentTitleId_entry() { return kernel_state()->emulator()->title_id(); }