mirror of
https://github.com/mamedev/mame.git
synced 2024-11-18 10:06:19 +01:00
video/jaguar.c: More realistic blitter timing. (nw)
This commit is contained in:
parent
8b69b8c178
commit
3c42dab691
1 changed files with 3 additions and 1 deletions
|
@ -551,7 +551,9 @@ WRITE32_MEMBER( jaguar_state::blitter_w )
|
||||||
if ((offset == B_CMD) && (mem_mask & 0x0000ffff))
|
if ((offset == B_CMD) && (mem_mask & 0x0000ffff))
|
||||||
{
|
{
|
||||||
m_blitter_status = 0;
|
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();
|
blitter_run();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue