From d3c2f9a4a4c48e4571cd693a0c1801b665819cdf Mon Sep 17 00:00:00 2001 From: bunnei Date: Mon, 27 Apr 2015 22:45:43 -0400 Subject: HLE: Properly initialize and shutdown remaining modules. --- src/core/hle/config_mem.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/core/hle/config_mem.cpp') diff --git a/src/core/hle/config_mem.cpp b/src/core/hle/config_mem.cpp index 30d73ada..9fcfcc28 100644 --- a/src/core/hle/config_mem.cpp +++ b/src/core/hle/config_mem.cpp @@ -61,6 +61,8 @@ template void Read(u16 &var, const u32 addr); template void Read(u8 &var, const u32 addr); void Init() { + memset(&config_mem, 0, sizeof(config_mem)); + config_mem.update_flag = 0; // No update config_mem.sys_core_ver = 0x2; config_mem.unit_info = 0x1; // Bit 0 set for Retail @@ -76,4 +78,7 @@ void Init() { config_mem.firm_sys_core_ver = 0x2; } +void Shutdown() { +} + } // namespace -- cgit v1.2.3