another small antic bit. nw.

This commit is contained in:
Fabio Priuli 2014-09-08 06:03:27 +00:00
parent 397d4bffac
commit b0aa8a5f16
3 changed files with 4 additions and 4 deletions

View File

@ -562,7 +562,7 @@ extern ANTIC antic;
void antic_start(running_machine &machine);
void antic_vstart(running_machine &machine);
void antic_reset(void);
void antic_render(address_space &space, VIDEO *video, int param1, int param2, int param3);
void antic_render(address_space &space, int param1, int param2, int param3);
#endif /* ATARI_H */

View File

@ -1079,8 +1079,9 @@ static const atari_renderer_func renderer[2][19][5] = {
}
};
void antic_render(address_space &space, VIDEO *video, int param1, int param2, int param3)
void antic_render(address_space &space, int param1, int param2, int param3)
{
VIDEO *video = antic.video[antic.scanline];
(*renderer[param1][param2][param3])(space, video);
}

View File

@ -394,10 +394,9 @@ TIMER_CALLBACK_MEMBER( atari_common_state::antic_scanline_render )
{
address_space &space = machine().device("maincpu")->memory().space(AS_PROGRAM);
VIDEO *video = antic.video[antic.scanline];
LOG((" @cycle #%3d render mode $%X lines to go #%d\n", cycle(), (antic.cmd & 0x0f), antic.modelines));
antic_render(space, video, m_antic_render1, m_antic_render2, m_antic_render3);
antic_render(space, m_antic_render1, m_antic_render2, m_antic_render3);
/* if player/missile graphics is enabled */
if( antic.scanline < 256 && (antic.w.dmactl & (DMA_PLAYER|DMA_MISSILE)) )