mirror of
https://github.com/holub/mame
synced 2025-05-23 06:08:48 +03:00
video/jaguar.c: More realistic blitter timing. (nw)
This commit is contained in:
parent
8b69b8c178
commit
3c42dab691
@ -551,7 +551,9 @@ WRITE32_MEMBER( jaguar_state::blitter_w )
|
||||
if ((offset == B_CMD) && (mem_mask & 0x0000ffff))
|
||||
{
|
||||
m_blitter_status = 0;
|
||||
timer_set(attotime::from_usec(100), TID_BLITTER_DONE);
|
||||
int inner_count = m_blitter_regs[B_COUNT] & 0xffff;
|
||||
int outer_count = m_blitter_regs[B_COUNT] >> 16;
|
||||
timer_set(attotime::from_ticks(inner_count * outer_count, JAGUAR_CLOCK), TID_BLITTER_DONE);
|
||||
blitter_run();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user