mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
Ah, i see there is a better way to get a typed device. Neato. (nw)
This commit is contained in:
parent
c28fe11f39
commit
46f3271b45
@ -631,7 +631,7 @@ void crystal_state::machine_reset()
|
||||
m_Timer[i]->adjust(attotime::never);
|
||||
}
|
||||
|
||||
dynamic_cast<vrender0_device*>(machine().device("vrender"))->set_areas(m_textureram, m_frameram);
|
||||
machine().device<vrender0_device>("vrender")->set_areas(m_textureram, m_frameram);
|
||||
#ifdef IDLE_LOOP_SPEEDUP
|
||||
m_FlipCntRead = 0;
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user