diff options
author | Ville Linde <villelin@mamedev.org> | 2012-09-10 17:46:57 +0000 |
---|---|---|
committer | Ville Linde <villelin@mamedev.org> | 2012-09-10 17:46:57 +0000 |
commit | 3faba956099ae0900685df838de8844ac5f899e2 (patch) | |
tree | bcbd1ce42592df2f34eb911b1d6f3500239f9d09 /src/mame | |
parent | 573744ba277f1e91df3b86b4091da616a3311428 (diff) |
nwk-tr.c: Fixed Thrill Drive clones
Diffstat (limited to 'src/mame')
-rw-r--r-- | src/mame/drivers/nwk-tr.c | 6 |
1 files 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 |