diff options
author | bunnei <bunneidev@gmail.com> | 2015-04-28 04:03:35 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2015-05-02 00:27:02 +0200 |
commit | 57aaaf92dbbdb4c1d43f6b564c7e8f83ab0811e7 (patch) | |
tree | 851fb394c4fe279ca90cae70112d33aa9c4e7d6b /src/core/hw/lcd.cpp | |
parent | Services: Initialize all state variables at bootup. (diff) | |
download | yuzu-57aaaf92dbbdb4c1d43f6b564c7e8f83ab0811e7.tar yuzu-57aaaf92dbbdb4c1d43f6b564c7e8f83ab0811e7.tar.gz yuzu-57aaaf92dbbdb4c1d43f6b564c7e8f83ab0811e7.tar.bz2 yuzu-57aaaf92dbbdb4c1d43f6b564c7e8f83ab0811e7.tar.lz yuzu-57aaaf92dbbdb4c1d43f6b564c7e8f83ab0811e7.tar.xz yuzu-57aaaf92dbbdb4c1d43f6b564c7e8f83ab0811e7.tar.zst yuzu-57aaaf92dbbdb4c1d43f6b564c7e8f83ab0811e7.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hw/lcd.cpp | 1 |
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"); } |