summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame
diff options
context:
space:
mode:
author sasuke-arcade <58130089+sasuke-arcade@users.noreply.github.com>2019-12-02 19:21:47 +0900
committer Angelo Salese <angelosa@users.noreply.github.com>2019-12-02 11:21:47 +0100
commitc1a3350e99a629b7e484376ca46054f1b8824aa6 (patch)
treecca843465d95e8809687d54fe5afb1ee96e647d2 /src/mame
parent8af1257413d7b0cee333a3c0ad99847ba61d7842 (diff)
speedatk.cpp : Fixed tilemap wrong bit assignment (#6001)
By this bonus rate are displayed correctly.
Diffstat (limited to 'src/mame')
-rw-r--r--src/mame/video/speedatk.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/video/speedatk.cpp b/src/mame/video/speedatk.cpp
index 76426076aff..0779661d6b2 100644
--- a/src/mame/video/speedatk.cpp
+++ b/src/mame/video/speedatk.cpp
@@ -87,9 +87,9 @@ uint32_t speedatk_state::screen_update(screen_device &screen, bitmap_rgb32 &bitm
{
for(x=0;x<m_crtc_vreg[1];x++)
{
- tile = m_videoram[count] + ((m_colorram[count] & 0xe0) << 3);
+ tile = m_videoram[count] + ((m_colorram[count] & 0x60) << 3);
color = m_colorram[count] & 0x1f;
- region = (m_colorram[count] & 0x10) >> 4;
+ region = (m_colorram[count] & 0x80) >> 7;
m_gfxdecode->gfx(region)->opaque(bitmap,cliprect,tile,color,m_flip_scr,m_flip_scr,x*8,y*8);