From 57aaaf92dbbdb4c1d43f6b564c7e8f83ab0811e7 Mon Sep 17 00:00:00 2001 From: bunnei Date: Mon, 27 Apr 2015 22:03:35 -0400 Subject: HW: Properly initialize and shutdown all modules. --- src/core/hw/lcd.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/core/hw/lcd.cpp') diff --git a/src/core/hw/lcd.cpp b/src/core/hw/lcd.cpp index 7986f3dd..8a09c3bc 100644 --- a/src/core/hw/lcd.cpp +++ b/src/core/hw/lcd.cpp @@ -55,6 +55,7 @@ template void Write(u32 addr, const u8 data); /// Initialize hardware void Init() { + memset(&g_regs, 0, sizeof(g_regs)); LOG_DEBUG(HW_LCD, "initialized OK"); } -- cgit v1.2.3