mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
(MESS) fixed uninitialized memory in mess/video/uv201.c (MT05125) [Oliver Stöneberg]
This commit is contained in:
parent
36c8a19378
commit
53a7e3b512
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user