diff options
author | 2013-01-28 01:58:07 +0000 | |
---|---|---|
committer | 2013-01-28 01:58:07 +0000 | |
commit | 53a7e3b512a110b3203f2419a0526eeaa1e66da0 (patch) | |
tree | 7691ba207d8dd1c734395db1588658c6941f7104 /src/mess/video/uv201.c | |
parent | 36c8a1937897acfa5b9c876173412e5f23334480 (diff) |
(MESS) fixed uninitialized memory in mess/video/uv201.c (MT05125) [Oliver Stöneberg]
Diffstat (limited to 'src/mess/video/uv201.c')
-rw-r--r-- | src/mess/video/uv201.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mess/video/uv201.c b/src/mess/video/uv201.c index 318ed552480..ceef753738b 100644 --- a/src/mess/video/uv201.c +++ b/src/mess/video/uv201.c @@ -148,6 +148,15 @@ void uv201_device::device_start() initialize_palette(); + memset(m_ram, 0x00, sizeof(m_ram)); + m_y_int = 0; + m_fmod = 0; + m_bg = 0; + m_cmd = 0; + m_freeze_x = 0; + m_freeze_y = 0; + m_field = 0; + // state saving save_item(NAME(m_ram)); save_item(NAME(m_y_int)); |