summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/drivers/ticalc1x.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/ticalc1x.c
parent7d74f0117cff191455e3af31b050d7d2ec5986fd (diff)
fix uninitialized display at start
Diffstat (limited to 'src/mess/drivers/ticalc1x.c')
-rw-r--r--src/mess/drivers/ticalc1x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mess/drivers/ticalc1x.c b/src/mess/drivers/ticalc1x.c
index 076d49c7000..f5a948a58db 100644
--- a/src/mess/drivers/ticalc1x.c
+++ b/src/mess/drivers/ticalc1x.c
@@ -99,7 +99,7 @@ void ticalc1x_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)); // !