summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video
diff options
context:
space:
mode:
author Sasuke <github@sasuke.jp.xrea.jp>2019-11-24 18:28:26 +0900
committer Sasuke <github@sasuke.jp.xrea.jp>2019-11-24 18:28:26 +0900
commit461b45e50458fb1d2f8a799078daa7227e18e561 (patch)
treee953d133715a27da5a0aafc25e000a30ab7dfeb0 /src/mame/video
parente9a9ec7316857d6fc5769b204cbbd7faf657e813 (diff)
teracre.cpp: Add hide text layer support (used in Cofree break of horekid)
- 07494: horekid, horekidb, boobhack: Coffee break doesn't show
Diffstat (limited to 'src/mame/video')
-rw-r--r--src/mame/video/terracre.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mame/video/terracre.cpp b/src/mame/video/terracre.cpp
index 008e748ac4f..6f9c4415d60 100644
--- a/src/mame/video/terracre.cpp
+++ b/src/mame/video/terracre.cpp
@@ -186,6 +186,9 @@ uint32_t terracre_state::screen_update_amazon(screen_device &screen, bitmap_ind1
m_background->draw(screen, bitmap, cliprect, 0, 0 );
draw_sprites(bitmap,cliprect );
- m_foreground->draw(screen, bitmap, cliprect, 0, 0 );
+
+ if ((m_xscroll & 0x1000) == 0)
+ m_foreground->draw(screen, bitmap, cliprect, 0, 0);
+
return 0;
}