カテゴリ 重要度 ステータス 解決状況 登録日時 最終更新
色/パレット解決済み修正済み2012-12-25 02:382012-12-25 08:54
 
テスターM.A.S.H.担当者M.A.S.H.ソースmcr3.cpp
バージョン0.147u4発生バージョン0.36b6修正バージョン0.148
フラグ
セット crater
セット詳細
crater - Crater Raider
 
概 要色が間違っている。0.36b6から。
詳 細The colors in Crater Raider are wrong since MAME 0.36b6. See Youtube video:

再現手順In MAME 0.33b7 Aaron Giles fixed the colors/gfxdecode for Crater Raider, by adding an extra crater_gfxdecode:

The spyhunt_gfxdecode (drivers\mcr3.c) was changed from

static struct GfxDecodeInfo spyhunt_gfxdecodeinfo[] =
{
{ 1, 0x0000, &spyhunt_charlayout_128, 0, 4 }, /* top half */
{ 1, 0x0004, &spyhunt_charlayout_128, 0, 4 }, /* bottom half */
{ 1, 0x8000, &mcr3_spritelayout_256, 0, 4 },
{ 1, 0x28000, &spyhunt_alphalayout, 8*16, 4 },
{ -1 } /* end of array */
};

to

static struct GfxDecodeInfo spyhunt_gfxdecodeinfo[] =
{
{ 1, 0x0000, &spyhunt_charlayout_128, 1*16, 1 }, /* top half */
{ 1, 0x0004, &spyhunt_charlayout_128, 1*16, 1 }, /* bottom half */
{ 1, 0x8000, &mcr3_spritelayout_256, 0*16, 1 },
{ 1, 0x28000, &spyhunt_alphalayout, 8*16, 1 },
{ -1 } /* end of array */
};

and the extra crater_gfxdecode was added:

static struct GfxDecodeInfo crater_gfxdecodeinfo[] =
{
{ 1, 0x0000, &spyhunt_charlayout_128, 3*16, 1 }, /* top half */
{ 1, 0x0004, &spyhunt_charlayout_128, 3*16, 1 }, /* bottom half */
{ 1, 0x8000, &mcr3_spritelayout_256, 0*16, 1 },
{ 1, 0x28000, &spyhunt_alphalayout, 8*16, 1 },
{ -1 } /* end of array */
};




In MAME 0.36b6 the MC3 driver was updated and the crater_gfxdecode was *mistakenly* removed.

The spyhunt_gfxdecode was changed from

static struct GfxDecodeInfo spyhunt_gfxdecodeinfo[] =
{
{ 1, 0x0000, &spyhunt_charlayout_128, 1*16, 1 }, /* top half */
{ 1, 0x0004, &spyhunt_charlayout_128, 1*16, 1 }, /* bottom half */
{ 1, 0x8000, &mcr3_spritelayout_256, 0*16, 1 },
{ 1, 0x28000, &spyhunt_alphalayout, 8*16, 1 },
{ -1 } /* end of array */
};

to

static struct GfxDecodeInfo spyhunt_gfxdecodeinfo[] =
{
{ 1, 0x00000, &spyhunt_charlayout, 1*16, 1 },
{ 1, 0x08000, &spritelayout, 0*16, 4 },
{ 1, 0x48000, &spyhunt_alphalayout, 8*16, 1 },
{ -1 } /* end of array */
};

and Crater Raider uses from now on the spyhunt_gfxdecode.




Now in MAME 0.147u4 the spyhunt_gfxdecode looks like this:

static GFXDECODE_START( spyhunt )
GFXDECODE_ENTRY( "gfx1", 0, spyhunt_charlayout, 1*16, 1 )
GFXDECODE_ENTRY( "gfx2", 0, mcr_sprite_layout, 0*16, 4 )
GFXDECODE_ENTRY( "gfx3", 0, spyhunt_alphalayout, 4*16, 1 )
GFXDECODE_END

and if we look at the old crater_gfxdecode in MAME 0.33b7 we must only changed 'spyhunt_charlayout' from 1*16 to 3*16:

static GFXDECODE_START( spyhunt )
GFXDECODE_ENTRY( "gfx1", 0, spyhunt_charlayout, 3*16, 1 )
GFXDECODE_ENTRY( "gfx2", 0, mcr_sprite_layout, 0*16, 4 )
GFXDECODE_ENTRY( "gfx3", 0, spyhunt_alphalayout, 4*16, 1 )
GFXDECODE_END

This fixed the colors in Crater Raider and the Spy Hunter colors are no affected!
(see crater 0147u4 before & after.png)
追加情報 
 
添付ファイルpng filecrater 0147u4 before & after.png (2012-12-25 02:38)