カテゴリ 重要度 ステータス 解決状況 登録日時 最終更新
色/パレット解決済み修正済み2010-02-13 09:202022-04-30 20:18
 
テスターM.A.S.H.担当者Robbbertソースgalaxian/galaxian.cpp
バージョン0.136u2発生バージョン0.124u1修正バージョン0.244
修正コミット 90c2542プルリク
フラグ
セット gmgalax
セット詳細
gmgalax - Ghostmuncher Galaxian (海賊版)
 
概 要0.124u1より色がおかしい。
詳 細The colors in Ghostmuncher Galaxian (bootleg) are wrong since MAME 0.124u1.
See snapshots from MAME 0.124 and MAME 0.136u2.
再現手順Start gmgalax. Select Galaxian in the dipswitch menu and start the game.
追加情報The video driver for gmgalax was changed in MAME 0.124u1 from:

static void gmgalax_modify_charcode(UINT16 *code,UINT8 x);
static void gmgalax_modify_spritecode(UINT8 *spriteram,int *code,int *flipx,int *flipy,int offs);
static void gmgalax_modify_color(UINT8 *color);
VIDEO_START( gmgalax )
{
VIDEO_START_CALL(galaxian);

modify_charcode = gmgalax_modify_charcode;
modify_spritecode = gmgalax_modify_spritecode;
modify_color = gmgalax_modify_color;
}

static void gmgalax_modify_charcode(UINT16 *code,UINT8 x)
{
*code |= (gfxbank[0] << 9);
}
static void gmgalax_modify_spritecode(UINT8 *spriteram,int *code,int *flipx,int *flipy,int offs)
{
*code |= (gfxbank[0] << 7) | 0x40;
}
static void gmgalax_modify_color(UINT8 *color)
{
*color |= (gfxbank[0] << 3);
}



to




void gmgalax_extend_tile_info(UINT16 *code, UINT8 *color, UINT8 attrib, UINT8 x)
{
*code |= gfxbank[0] << 9;
// *color |= gfxbank[0] << 3;
}

void gmgalax_extend_sprite_info(const UINT8 *base, UINT8 *sx, UINT8 *sy, UINT8 *flipx, UINT8 *flipy, UINT16 *code, UINT8 *color)
{
*code |= (gfxbank[0] << 7) | 0x40;
*color |= gfxbank[0] << 3;
}


*FIX*
----------------------------------------------------------------------------------
If you changed in src\mame\video\galaian.c (MAME 0.136u2) line 1276 from

// *color |= gfxbank[0] << 3;

to

*color |= gfxbank[0] << 3;


you got all gfx in gmgalax back!
 
添付ファイルpng filegmgalax-0124-0136u2.png (2010-02-13 09:20)
JPG fileDSCN1975.JPG (2022-01-08 01:44)
JPG fileDSCN1973.JPG (2022-01-08 01:45)