mirror of
https://github.com/holub/mame
synced 2025-04-23 17:00:53 +03:00
Fixing bug in frameskip screen updates
This commit is contained in:
parent
4780db9abe
commit
e314aeded2
@ -1076,9 +1076,8 @@ bool screen_device::screen_update(bitmap_t &bitmap, const rectangle &cliprect)
|
||||
if (m_screen_update != NULL) {
|
||||
return (*m_screen_update)(this, &bitmap, &cliprect);
|
||||
} else {
|
||||
machine().driver_data<driver_device>()->screen_update(*this, bitmap, cliprect);
|
||||
return machine().driver_data<driver_device>()->screen_update(*this, bitmap, cliprect);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
//-------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user