summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author Michael Zapf <Michael.Zapf@mizapf.de>2017-02-24 00:14:07 +0100
committer Michael Zapf <Michael.Zapf@mizapf.de>2017-02-24 00:14:07 +0100
commit54cdef9e221753ca4412d38e06a6767bc3ab2440 (patch)
tree7bb75ec3fe37b83702a767630baf3cbdccccfb7b /src
parent55e5e6992b2a26ab26b3a9b9343a0f954e316f26 (diff)
ti99: Added initializations to prevent 99/4 from crashing on startup
Diffstat (limited to 'src')
-rw-r--r--src/mame/drivers/ti99_4x.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mame/drivers/ti99_4x.cpp b/src/mame/drivers/ti99_4x.cpp
index d1429e82af0..68960c44902 100644
--- a/src/mame/drivers/ti99_4x.cpp
+++ b/src/mame/drivers/ti99_4x.cpp
@@ -68,6 +68,14 @@ class ti99_4x_state : public driver_device
public:
ti99_4x_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag),
+ m_keyboard_column(0),
+ m_check_alphalock(false),
+ m_nready_combined(0),
+ m_nready_prev(0),
+ m_model(0),
+ m_int1(0),
+ m_int2(0),
+ m_int12(0),
m_cpu(*this, "maincpu"),
m_tms9901(*this, TMS9901_TAG),
m_gromport(*this, GROMPORT_TAG),