aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/hle/config_mem.cpp
diff options
context:
space:
mode:
authorGravatar Yuri Kunde Schlesner <yuriks@yuriks.net>2015-05-06 02:42:43 -0300
committerGravatar Yuri Kunde Schlesner <yuriks@yuriks.net>2015-05-06 23:45:06 -0300
commitc0eaa662d47daa7a148fd63b2634ea59a559296c (patch)
tree27acf97278304536b457a4593f9ad045564899bb /src/core/hle/config_mem.cpp
parentb89f644cfef7592a501f1c0b9aae0c4ae757d854 (diff)
Clean-up includes
Diffstat (limited to 'src/core/hle/config_mem.cpp')
-rw-r--r--src/core/hle/config_mem.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/hle/config_mem.cpp b/src/core/hle/config_mem.cpp
index 9fcfcc28..35dc9cf5 100644
--- a/src/core/hle/config_mem.cpp
+++ b/src/core/hle/config_mem.cpp
@@ -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;