mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
winrun: Fixed bad downcast, now it crashes later on as it did in 0.154, where MT01965 seems to have resurfaced. Up to 0.153 it worked fine. (nw)
This commit is contained in:
parent
4652dda1e6
commit
28e4a813a4
@ -631,9 +631,8 @@ READ16_MEMBER( namcos2_shared_state::namcos21_68k_gpu_C148_r )
|
||||
|
||||
int namcos2_shared_state::get_posirq_scanline()
|
||||
{
|
||||
namcos2_state *s2state = machine().driver_data<namcos2_state>();
|
||||
if (is_system21()) return 0;
|
||||
return s2state->get_pos_irq_scanline();
|
||||
return downcast<namcos2_state *>(this)->get_pos_irq_scanline();
|
||||
}
|
||||
|
||||
TIMER_CALLBACK_MEMBER(namcos2_shared_state::namcos2_posirq_tick)
|
||||
|
Loading…
Reference in New Issue
Block a user