From 3c42dab691e0896fa5cd5c3c8429b1ffc1328b52 Mon Sep 17 00:00:00 2001 From: Ville Linde Date: Mon, 11 Feb 2013 20:34:25 +0000 Subject: [PATCH] video/jaguar.c: More realistic blitter timing. (nw) --- src/mame/video/jaguar.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mame/video/jaguar.c b/src/mame/video/jaguar.c index 887f10ebce8..734e2d811c2 100644 --- a/src/mame/video/jaguar.c +++ b/src/mame/video/jaguar.c @@ -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(); }