From b5042a525768f422d9881b8800602dc886b1356d Mon Sep 17 00:00:00 2001 From: kylon <3252255+kylon@users.noreply.github.com> Date: Fri, 23 Feb 2024 00:43:33 +0100 Subject: [PATCH] Core: update kernel config memory to latest 11.17 (#7460) --- src/core/hle/kernel/config_mem.cpp | 10 +++++----- src/core/hle/kernel/process.cpp | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/core/hle/kernel/config_mem.cpp b/src/core/hle/kernel/config_mem.cpp index e8f6121600..eab8a9f671 100644 --- a/src/core/hle/kernel/config_mem.cpp +++ b/src/core/hle/kernel/config_mem.cpp @@ -14,18 +14,18 @@ namespace ConfigMem { Handler::Handler() { std::memset(&config_mem, 0, sizeof(config_mem)); - // Values extracted from firmware 11.2.0-35E - config_mem.kernel_version_min = 0x34; + // Values extracted from firmware 11.17.0-50E + config_mem.kernel_version_min = 0x3a; config_mem.kernel_version_maj = 0x2; config_mem.ns_tid = 0x0004013000008002; config_mem.sys_core_ver = 0x2; config_mem.unit_info = 0x1; // Bit 0 set for Retail config_mem.prev_firm = 0x1; - config_mem.ctr_sdk_ver = 0x0000F297; - config_mem.firm_version_min = 0x34; + config_mem.ctr_sdk_ver = 0x0000F450; + config_mem.firm_version_min = 0x3a; config_mem.firm_version_maj = 0x2; config_mem.firm_sys_core_ver = 0x2; - config_mem.firm_ctr_sdk_ver = 0x0000F297; + config_mem.firm_ctr_sdk_ver = 0x0000F450; } ConfigMemDef& Handler::GetConfigMem() { diff --git a/src/core/hle/kernel/process.cpp b/src/core/hle/kernel/process.cpp index 17f142cfdc..3d0a315ef5 100644 --- a/src/core/hle/kernel/process.cpp +++ b/src/core/hle/kernel/process.cpp @@ -210,10 +210,10 @@ void Process::Set3dsxKernelCaps() { }; // Similar to Rosalina, we set kernel version to a recent one. - // This is 11.2.0, to be consistent with core/hle/kernel/config_mem.cpp + // This is 11.17.0, to be consistent with core/hle/kernel/config_mem.cpp // TODO: refactor kernel version out so it is configurable and consistent // among all relevant places. - kernel_version = 0x234; + kernel_version = 0x23a; } void Process::Run(s32 main_thread_priority, u32 stack_size) {