2014-05-07 08:59:39 +05:30
|
|
|
// Copyright 2014 Citra Emulator Project
|
2014-12-17 11:08:14 +05:30
|
|
|
// Licensed under GPLv2 or any later version
|
2014-11-19 14:19:13 +05:30
|
|
|
// Refer to the license.txt file included.
|
2014-05-07 08:59:39 +05:30
|
|
|
|
2015-05-06 11:12:43 +05:30
|
|
|
#include <cstring>
|
2014-05-07 08:59:39 +05:30
|
|
|
#include "core/hle/config_mem.h"
|
|
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
namespace ConfigMem {
|
|
|
|
|
2015-05-13 07:47:30 +05:30
|
|
|
ConfigMemDef config_mem;
|
2014-05-07 08:59:39 +05:30
|
|
|
|
2015-02-13 10:27:02 +05:30
|
|
|
void Init() {
|
2015-05-06 11:12:43 +05:30
|
|
|
std::memset(&config_mem, 0, sizeof(config_mem));
|
2015-04-28 08:15:43 +05:30
|
|
|
|
2017-01-30 13:25:49 +05:30
|
|
|
// Values extracted from firmware 11.2.0-35E
|
|
|
|
config_mem.kernel_version_min = 0x34;
|
|
|
|
config_mem.kernel_version_maj = 0x2;
|
|
|
|
config_mem.ns_tid = 0x0004013000008002;
|
2015-02-13 10:27:02 +05:30
|
|
|
config_mem.sys_core_ver = 0x2;
|
|
|
|
config_mem.unit_info = 0x1; // Bit 0 set for Retail
|
2017-01-30 13:25:49 +05:30
|
|
|
config_mem.prev_firm = 0x1;
|
|
|
|
config_mem.ctr_sdk_ver = 0x0000F297;
|
|
|
|
config_mem.firm_version_min = 0x34;
|
2015-02-13 10:27:02 +05:30
|
|
|
config_mem.firm_version_maj = 0x2;
|
|
|
|
config_mem.firm_sys_core_ver = 0x2;
|
2017-01-30 13:25:49 +05:30
|
|
|
config_mem.firm_ctr_sdk_ver = 0x0000F297;
|
2015-02-13 10:27:02 +05:30
|
|
|
}
|
2014-05-07 08:59:39 +05:30
|
|
|
|
2018-03-09 23:24:43 +05:30
|
|
|
} // namespace ConfigMem
|