diff options
author | 2014-05-09 16:14:26 +0000 | |
---|---|---|
committer | 2014-05-09 16:14:26 +0000 | |
commit | c1b6a6a013b6e00850dd2e171c86886cb47cf154 (patch) | |
tree | 2ec1f3d6b82904f05dec64837231eab1d92ae076 /src | |
parent | bfcd6dc8d2249eef47b729193ddecf79e6f4d309 (diff) |
Fix MT05242 (I think...) [Alex Jackson]
Diffstat (limited to 'src')
-rw-r--r-- | src/mame/video/k054156_k054157_k056832.c | 2 | ||||
-rw-r--r-- | src/mame/video/mystwarr.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/video/k054156_k054157_k056832.c b/src/mame/video/k054156_k054157_k056832.c index 55d7bb352b9..cfd41124fe6 100644 --- a/src/mame/video/k054156_k054157_k056832.c +++ b/src/mame/video/k054156_k054157_k056832.c @@ -180,7 +180,7 @@ ones. The other 7 words are ignored. Global scrollx is ignored. const device_type K056832 = &device_creator<k056832_device>; k056832_device::k056832_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) - : device_t(mconfig, K056832, "K056832 Sprite/Tilemap Generator", tag, owner, clock, "k056832", __FILE__), + : device_t(mconfig, K056832, "K056832 Tilemap Generator", tag, owner, clock, "k056832", __FILE__), //m_tilemap[K056832_PAGE_COUNT], //*m_pixmap[K056832_PAGE_COUNT], //m_regs[0x20], diff --git a/src/mame/video/mystwarr.c b/src/mame/video/mystwarr.c index ecf8263c195..7a7939096d2 100644 --- a/src/mame/video/mystwarr.c +++ b/src/mame/video/mystwarr.c @@ -61,14 +61,14 @@ static void mystwarr_tile_callback(running_machine &machine, int layer, int *cod mystwarr_state *state = machine.driver_data<mystwarr_state>(); if (layer==1) {if ((*code&0xff00)+(*color)==0x4101) state->m_cbparam++; else state->m_cbparam--;} //* water hack (TEMPORARY) - *color = state->m_layer_colorbase[layer] | (*color>>1 & 0x1f); + *color = state->m_layer_colorbase[layer] | (*color>>1 & 0x1e); } // for games with 5bpp tile data static void game5bpp_tile_callback(running_machine &machine, int layer, int *code, int *color, int *flags) { mystwarr_state *state = machine.driver_data<mystwarr_state>(); - *color = state->m_layer_colorbase[layer] | (*color>>1 & 0x1f); + *color = state->m_layer_colorbase[layer] | (*color>>1 & 0x1e); } // for games with 4bpp tile data |