2014-05-06 20:29:39 -07:00
|
|
|
// Copyright 2014 Citra Emulator Project
|
2014-12-16 21:38:14 -08:00
|
|
|
// Licensed under GPLv2 or any later version
|
2014-11-19 00:49:13 -08:00
|
|
|
// Refer to the license.txt file included.
|
2014-05-06 20:29:39 -07:00
|
|
|
|
2015-05-05 22:42:43 -07:00
|
|
|
#include <cstring>
|
2014-05-06 20:29:39 -07:00
|
|
|
#include "core/hle/config_mem.h"
|
|
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
namespace ConfigMem {
|
|
|
|
|
2015-05-12 19:17:30 -07:00
|
|
|
ConfigMemDef config_mem;
|
2014-05-06 20:29:39 -07:00
|
|
|
|
2015-02-12 20:57:02 -08:00
|
|
|
void Init() {
|
2015-05-05 22:42:43 -07:00
|
|
|
std::memset(&config_mem, 0, sizeof(config_mem));
|
2015-04-27 19:45:43 -07:00
|
|
|
|
2017-01-29 23:55:49 -08:00
|
|
|
// 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-12 20:57:02 -08:00
|
|
|
config_mem.sys_core_ver = 0x2;
|
|
|
|
config_mem.unit_info = 0x1; // Bit 0 set for Retail
|
2017-01-29 23:55:49 -08:00
|
|
|
config_mem.prev_firm = 0x1;
|
|
|
|
config_mem.ctr_sdk_ver = 0x0000F297;
|
|
|
|
config_mem.firm_version_min = 0x34;
|
2015-02-12 20:57:02 -08:00
|
|
|
config_mem.firm_version_maj = 0x2;
|
|
|
|
config_mem.firm_sys_core_ver = 0x2;
|
2017-01-29 23:55:49 -08:00
|
|
|
config_mem.firm_ctr_sdk_ver = 0x0000F297;
|
2015-02-12 20:57:02 -08:00
|
|
|
}
|
2014-05-06 20:29:39 -07:00
|
|
|
|
2018-01-19 23:48:02 -08:00
|
|
|
} // namespace ConfigMem
|