Clean-up includes

This commit is contained in:
Yuri Kunde Schlesner 2015-05-06 02:42:43 -03:00
parent b89f644cfe
commit c0eaa662d4
8 changed files with 14 additions and 9 deletions

View file

@ -2,6 +2,9 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include <cstring>
#include "common/assert.h"
#include "common/common_types.h"
#include "common/common_funcs.h"
@ -61,7 +64,7 @@ template void Read<u16>(u16 &var, const u32 addr);
template void Read<u8>(u8 &var, const u32 addr);
void Init() {
memset(&config_mem, 0, sizeof(config_mem));
std::memset(&config_mem, 0, sizeof(config_mem));
config_mem.update_flag = 0; // No update
config_mem.sys_core_ver = 0x2;