summaryrefslogtreecommitdiffstats
path: root/src/core/hw/lcd.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2015-05-02 01:05:18 +0200
committerbunnei <bunneidev@gmail.com>2015-05-02 01:05:18 +0200
commit6a2d8c46f21e8813e0472dba28932ed461ce1a66 (patch)
treed7057cf9926c822c12cc7d82814a252db79ca600 /src/core/hw/lcd.cpp
parentMerge pull request #717 from linkmauve/useless-auto (diff)
parentQt: Shutdown game on emulator close event. (diff)
downloadyuzu-6a2d8c46f21e8813e0472dba28932ed461ce1a66.tar
yuzu-6a2d8c46f21e8813e0472dba28932ed461ce1a66.tar.gz
yuzu-6a2d8c46f21e8813e0472dba28932ed461ce1a66.tar.bz2
yuzu-6a2d8c46f21e8813e0472dba28932ed461ce1a66.tar.lz
yuzu-6a2d8c46f21e8813e0472dba28932ed461ce1a66.tar.xz
yuzu-6a2d8c46f21e8813e0472dba28932ed461ce1a66.tar.zst
yuzu-6a2d8c46f21e8813e0472dba28932ed461ce1a66.zip
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 7986f3ddb..8a09c3bc0 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");
}