summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/drivers/hh_hmcs40.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_hmcs40.c
parent7d74f0117cff191455e3af31b050d7d2ec5986fd (diff)
fix uninitialized display at start
Diffstat (limited to 'src/mess/drivers/hh_hmcs40.c')
-rw-r--r--src/mess/drivers/hh_hmcs40.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mess/drivers/hh_hmcs40.c b/src/mess/drivers/hh_hmcs40.c
index 4bdbd69b069..5bc8225b84c 100644
--- a/src/mess/drivers/hh_hmcs40.c
+++ b/src/mess/drivers/hh_hmcs40.c
@@ -107,7 +107,7 @@ void hh_hmcs40_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));