Ah, i see there is a better way to get a typed device. Neato. (nw)

This commit is contained in:
Andrew Gardner 2012-12-30 16:05:25 +00:00
parent c28fe11f39
commit 46f3271b45

View File

@ -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