From 3faba956099ae0900685df838de8844ac5f899e2 Mon Sep 17 00:00:00 2001 From: Ville Linde Date: Mon, 10 Sep 2012 17:46:57 +0000 Subject: [PATCH] nwk-tr.c: Fixed Thrill Drive clones --- src/mame/drivers/nwk-tr.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/mame/drivers/nwk-tr.c b/src/mame/drivers/nwk-tr.c index c29f9dac119..d90afe7e3ef 100644 --- a/src/mame/drivers/nwk-tr.c +++ b/src/mame/drivers/nwk-tr.c @@ -281,7 +281,7 @@ static SCREEN_UPDATE_RGB32( nwktr ) voodoo_update(voodoo, bitmap, cliprect); - const rectangle visarea = screen.visible_area(); + const rectangle &visarea = screen.visible_area(); const rectangle tilemap_rect(visarea.min_x, visarea.max_x, visarea.min_y+16, visarea.max_y); k001604_draw_front_layer(k001604, bitmap, tilemap_rect); @@ -480,7 +480,9 @@ WRITE32_MEMBER(nwktr_state::lanc2_w) { // TODO: check if these should be transferred via PPC DMA. - if (mame_stricmp(machine().system().name, "thrilld") == 0) + if (mame_stricmp(machine().system().name, "thrilld") == 0 || + mame_stricmp(machine().system().name, "thrilldb") == 0 || + mame_stricmp(machine().system().name, "thrilldae") == 0) { m_work_ram[(0x3ffed0/4) + 0] = 0x472a3731; // G*71 m_work_ram[(0x3ffed0/4) + 1] = 0x33202020; // 3