From e6dbd8905ce615be8eb24e529dd11f6a60c881dd Mon Sep 17 00:00:00 2001 From: gibbed Date: Sun, 25 Nov 2018 03:46:44 -0600 Subject: [PATCH] [Kernel] Stub XLiveBaseGetNatType. --- src/xenia/kernel/xam/apps/xlivebase_app.cc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/xenia/kernel/xam/apps/xlivebase_app.cc b/src/xenia/kernel/xam/apps/xlivebase_app.cc index db0ae94fc..4d7a4fd8a 100644 --- a/src/xenia/kernel/xam/apps/xlivebase_app.cc +++ b/src/xenia/kernel/xam/apps/xlivebase_app.cc @@ -35,6 +35,12 @@ X_RESULT XLiveBaseApp::DispatchMessageSync(uint32_t message, xe::store_and_swap(buffer + 0, 1); // ? return X_ERROR_SUCCESS; } + case 0x00058006: { + assert_true(!buffer_length || buffer_length == 4); + XELOGD("XLiveBaseGetNatType(%.8X)", buffer_ptr); + xe::store_and_swap(buffer + 0, 1); // XONLINE_NAT_OPEN + return X_ERROR_SUCCESS; + } case 0x00058020: { // 0x00058004 is called right before this. // We should create a XamEnumerate-able empty list here, but I'm not