summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/drivers/hh_pic16.c
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2015-03-21 20:41:41 +0100
committer hap <happppp@users.noreply.github.com>2015-03-21 20:41:41 +0100
commit1990de612afdaf12a0e1e24f5540fa10d7b41d7c (patch)
tree350a91c51b825650dbd1a423e9e2e77264c4b96b /src/mess/drivers/hh_pic16.c
parent7d74f0117cff191455e3af31b050d7d2ec5986fd (diff)
fix uninitialized display at start
Diffstat (limited to 'src/mess/drivers/hh_pic16.c')
-rw-r--r--src/mess/drivers/hh_pic16.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mess/drivers/hh_pic16.c b/src/mess/drivers/hh_pic16.c
index bdabf44dd43..566c109ece2 100644
--- a/src/mess/drivers/hh_pic16.c
+++ b/src/mess/drivers/hh_pic16.c
@@ -76,7 +76,7 @@ void hh_pic16_state::machine_start()
{
// zerofill
memset(m_display_state, 0, sizeof(m_display_state));
- memset(m_display_cache, 0, sizeof(m_display_cache));
+ memset(m_display_cache, ~0, sizeof(m_display_cache));
memset(m_display_decay, 0, sizeof(m_display_decay));
memset(m_display_segmask, 0, sizeof(m_display_segmask));