mirror of
https://github.com/PabloMK7/citra
synced 2024-11-15 05:08:23 +00:00
Core: update kernel config memory to latest 11.17 (#7460)
This commit is contained in:
parent
e524542a40
commit
b5042a5257
2 changed files with 7 additions and 7 deletions
|
@ -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() {
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue