diff options
author | 2013-03-09 09:32:34 +0000 | |
---|---|---|
committer | 2013-03-09 09:32:34 +0000 | |
commit | f36544c50b28e9ba5ca14df8364dc82cfc0d1894 (patch) | |
tree | 0f07010a57513420ca7da83b3d30744dcd163dee /src/emu/cpu | |
parent | 5a03cd5301abad6ea3f13c92ad52ef98c95e8d12 (diff) |
fixed uninitialized members in src/emu/cpu/cosmac/cosmac.c (nw)
Diffstat (limited to 'src/emu/cpu')
-rw-r--r-- | src/emu/cpu/cosmac/cosmac.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/emu/cpu/cosmac/cosmac.c b/src/emu/cpu/cosmac/cosmac.c index 498202e6ae4..83035d84225 100644 --- a/src/emu/cpu/cosmac/cosmac.c +++ b/src/emu/cpu/cosmac/cosmac.c @@ -305,6 +305,9 @@ void cosmac_device::device_start() void cosmac_device::device_reset() { m_ie = 0; + m_q = 0; + m_df = 0; + memset(m_r, 0, sizeof(m_r)); } |