citra-emu
/
citra
Archived
1
0
Fork 0

Core: update kernel config memory to latest 11.17 (#7460)

This commit is contained in:
kylon 2024-02-23 00:43:33 +01:00 committed by GitHub
parent e524542a40
commit b5042a5257
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 7 deletions

View File

@ -14,18 +14,18 @@ namespace ConfigMem {
Handler::Handler() { Handler::Handler() {
std::memset(&config_mem, 0, sizeof(config_mem)); std::memset(&config_mem, 0, sizeof(config_mem));
// Values extracted from firmware 11.2.0-35E // Values extracted from firmware 11.17.0-50E
config_mem.kernel_version_min = 0x34; config_mem.kernel_version_min = 0x3a;
config_mem.kernel_version_maj = 0x2; config_mem.kernel_version_maj = 0x2;
config_mem.ns_tid = 0x0004013000008002; config_mem.ns_tid = 0x0004013000008002;
config_mem.sys_core_ver = 0x2; config_mem.sys_core_ver = 0x2;
config_mem.unit_info = 0x1; // Bit 0 set for Retail config_mem.unit_info = 0x1; // Bit 0 set for Retail
config_mem.prev_firm = 0x1; config_mem.prev_firm = 0x1;
config_mem.ctr_sdk_ver = 0x0000F297; config_mem.ctr_sdk_ver = 0x0000F450;
config_mem.firm_version_min = 0x34; config_mem.firm_version_min = 0x3a;
config_mem.firm_version_maj = 0x2; config_mem.firm_version_maj = 0x2;
config_mem.firm_sys_core_ver = 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() { ConfigMemDef& Handler::GetConfigMem() {

View File

@ -210,10 +210,10 @@ void Process::Set3dsxKernelCaps() {
}; };
// Similar to Rosalina, we set kernel version to a recent one. // 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 // TODO: refactor kernel version out so it is configurable and consistent
// among all relevant places. // among all relevant places.
kernel_version = 0x234; kernel_version = 0x23a;
} }
void Process::Run(s32 main_thread_priority, u32 stack_size) { void Process::Run(s32 main_thread_priority, u32 stack_size) {