diff options
| author | 2015-05-06 02:42:43 -0300 | |
|---|---|---|
| committer | 2015-05-06 23:45:06 -0300 | |
| commit | c0eaa662d47daa7a148fd63b2634ea59a559296c (patch) | |
| tree | 27acf97278304536b457a4593f9ad045564899bb /src/core/hle/config_mem.cpp | |
| parent | FileSys: De-inline Path members (diff) | |
| download | yuzu-c0eaa662d47daa7a148fd63b2634ea59a559296c.tar.gz yuzu-c0eaa662d47daa7a148fd63b2634ea59a559296c.tar.xz yuzu-c0eaa662d47daa7a148fd63b2634ea59a559296c.zip | |
Clean-up includes
Diffstat (limited to 'src/core/hle/config_mem.cpp')
| -rw-r--r-- | src/core/hle/config_mem.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/hle/config_mem.cpp b/src/core/hle/config_mem.cpp index 9fcfcc285..35dc9cf58 100644 --- a/src/core/hle/config_mem.cpp +++ b/src/core/hle/config_mem.cpp | |||
| @@ -2,6 +2,9 @@ | |||
| 2 | // Licensed under GPLv2 or any later version | 2 | // Licensed under GPLv2 or any later version |
| 3 | // Refer to the license.txt file included. | 3 | // Refer to the license.txt file included. |
| 4 | 4 | ||
| 5 | #include <cstring> | ||
| 6 | |||
| 7 | #include "common/assert.h" | ||
| 5 | #include "common/common_types.h" | 8 | #include "common/common_types.h" |
| 6 | #include "common/common_funcs.h" | 9 | #include "common/common_funcs.h" |
| 7 | 10 | ||
| @@ -61,7 +64,7 @@ template void Read<u16>(u16 &var, const u32 addr); | |||
| 61 | template void Read<u8>(u8 &var, const u32 addr); | 64 | template void Read<u8>(u8 &var, const u32 addr); |
| 62 | 65 | ||
| 63 | void Init() { | 66 | void Init() { |
| 64 | memset(&config_mem, 0, sizeof(config_mem)); | 67 | std::memset(&config_mem, 0, sizeof(config_mem)); |
| 65 | 68 | ||
| 66 | config_mem.update_flag = 0; // No update | 69 | config_mem.update_flag = 0; // No update |
| 67 | config_mem.sys_core_ver = 0x2; | 70 | config_mem.sys_core_ver = 0x2; |