2014-05-06 23:29:39 -04:00
|
|
|
// Copyright 2014 Citra Emulator Project
|
2014-12-17 00:38:14 -05:00
|
|
|
// Licensed under GPLv2 or any later version
|
2014-11-19 03:49:13 -05:00
|
|
|
// Refer to the license.txt file included.
|
2014-05-06 23:29:39 -04:00
|
|
|
|
2015-05-06 01:42:43 -04:00
|
|
|
#include <cstring>
|
2014-05-06 23:29:39 -04:00
|
|
|
#include "core/hle/config_mem.h"
|
|
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
namespace ConfigMem {
|
|
|
|
|
2015-05-12 22:17:30 -04:00
|
|
|
ConfigMemDef config_mem;
|
2014-05-06 23:29:39 -04:00
|
|
|
|
2015-02-12 23:57:02 -05:00
|
|
|
void Init() {
|
2015-05-06 01:42:43 -04:00
|
|
|
std::memset(&config_mem, 0, sizeof(config_mem));
|
2015-04-27 22:45:43 -04:00
|
|
|
|
2015-02-12 23:57:02 -05:00
|
|
|
config_mem.update_flag = 0; // No update
|
|
|
|
config_mem.sys_core_ver = 0x2;
|
|
|
|
config_mem.unit_info = 0x1; // Bit 0 set for Retail
|
|
|
|
config_mem.prev_firm = 0;
|
|
|
|
config_mem.firm_unk = 0;
|
|
|
|
config_mem.firm_version_rev = 0;
|
|
|
|
config_mem.firm_version_min = 0x40;
|
|
|
|
config_mem.firm_version_maj = 0x2;
|
|
|
|
config_mem.firm_sys_core_ver = 0x2;
|
|
|
|
}
|
2014-05-06 23:29:39 -04:00
|
|
|
|
|
|
|
} // namespace
|