diff options
author | 2019-07-01 19:09:41 +0200 | |
---|---|---|
committer | 2019-07-01 19:10:01 +0200 | |
commit | a885d25e58a351d912c7f762db2b028a3f4ef6be (patch) | |
tree | a57bfa4b1359744212881d711f73547928141562 | |
parent | 1e7d42931fd495d4871c5fbdd56c731d0cd0a2dd (diff) |
namcos2.cpp: drop ROZ optimization hack, which was causing missing backgrounds for Phelios [Angelo Salese]
-rw-r--r-- | src/mame/video/namcos2.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mame/video/namcos2.cpp b/src/mame/video/namcos2.cpp index fae1c18fd5c..623574534a1 100644 --- a/src/mame/video/namcos2.cpp +++ b/src/mame/video/namcos2.cpp @@ -91,7 +91,9 @@ uint32_t namcos2_state::screen_update(screen_device &screen, bitmap_ind16 &bitma apply_clip(clip, cliprect); /* HACK: enable ROZ layer only if it has priority > 0 */ - bool roz_enable = ((m_gfx_ctrl & 0x7000) ? true : false); + // Phelios contradicts with this so disabled + // (level 0 ROZ is actually used by stages 2, 3 and 4 at very least) + //bool roz_enable = ((m_gfx_ctrl & 0x7000) ? true : false); for (pri = 0; pri < 16; pri++) { @@ -99,7 +101,7 @@ uint32_t namcos2_state::screen_update(screen_device &screen, bitmap_ind16 &bitma { m_c123tmap->draw(screen, bitmap, clip, pri / 2); - if (roz_enable) + //if (roz_enable) { if (((m_gfx_ctrl & 0x7000) >> 12) == pri / 2) { |