aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/hw/lcd.cpp
diff options
context:
space:
mode:
authorGravatar bunnei <bunneidev@gmail.com>2015-04-27 22:03:35 -0400
committerGravatar bunnei <bunneidev@gmail.com>2015-05-01 18:27:02 -0400
commit57aaaf92dbbdb4c1d43f6b564c7e8f83ab0811e7 (patch)
tree851fb394c4fe279ca90cae70112d33aa9c4e7d6b /src/core/hw/lcd.cpp
parente0cb85691a99fb06dbce5e802ae756a944b1a66c (diff)
HW: Properly initialize and shutdown all modules.
Diffstat (limited to 'src/core/hw/lcd.cpp')
-rw-r--r--src/core/hw/lcd.cpp1
1 files changed, 1 insertions, 0 deletions
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<u8>(u32 addr, const u8 data);
/// Initialize hardware
void Init() {
+ memset(&g_regs, 0, sizeof(g_regs));
LOG_DEBUG(HW_LCD, "initialized OK");
}