this is pointer so nullptr is fine (nw)

This commit is contained in:
Miodrag Milanovic 2015-12-07 19:31:10 +01:00
parent c98724d841
commit 0285865c1c
27 changed files with 51 additions and 51 deletions

View File

@ -964,10 +964,10 @@ static const gfx_layout tiles16x16x8_layout =
GFXDECODE_START( stv )
GFXDECODE_ENTRY( 0x0000, 0, tiles8x8x4_layout, 0x00, (0x80*(2+1)) )
GFXDECODE_ENTRY( 0x0000, 0, tiles16x16x4_layout, 0x00, (0x80*(2+1)) )
GFXDECODE_ENTRY( 0x0000, 0, tiles8x8x8_layout, 0x00, (0x08*(2+1)) )
GFXDECODE_ENTRY( 0x0000, 0, tiles16x16x8_layout, 0x00, (0x08*(2+1)) )
GFXDECODE_ENTRY( nullptr, 0, tiles8x8x4_layout, 0x00, (0x80*(2+1)) )
GFXDECODE_ENTRY( nullptr, 0, tiles16x16x4_layout, 0x00, (0x80*(2+1)) )
GFXDECODE_ENTRY( nullptr, 0, tiles8x8x8_layout, 0x00, (0x08*(2+1)) )
GFXDECODE_ENTRY( nullptr, 0, tiles16x16x8_layout, 0x00, (0x08*(2+1)) )
GFXDECODE_END
WRITE_LINE_MEMBER(saturn_state::scudsp_end_w)

View File

@ -403,10 +403,10 @@ static const gfx_layout tile_layout =
};
static GFXDECODE_START( 2mindril )
GFXDECODE_ENTRY( 0x0000, 0x000000, charlayout, 0x0000, 0x0400>>4 ) /* Dynamically modified */
GFXDECODE_ENTRY( nullptr, 0x000000, charlayout, 0x0000, 0x0400>>4 ) /* Dynamically modified */
GFXDECODE_ENTRY( "gfx2", 0x000000, tile_layout, 0x0000, 0x2000>>4 ) /* Tiles area */
GFXDECODE_ENTRY( "gfx1", 0x000000, spriteram_layout, 0x1000, 0x1000>>4 ) /* Sprites area */
GFXDECODE_ENTRY( 0x0000, 0x000000, pivotlayout, 0x0000, 0x400>>4 ) /* Dynamically modified */
GFXDECODE_ENTRY( nullptr, 0x000000, pivotlayout, 0x0000, 0x400>>4 ) /* Dynamically modified */
GFXDECODE_END

View File

@ -289,10 +289,10 @@ static const gfx_layout scorelayout =
static GFXDECODE_START( ace )
GFXDECODE_ENTRY( "gfx1", 0, charlayout, 0, 2 )
GFXDECODE_ENTRY( 0x0000, 0x8000, charlayout0, 0, 2 ) /* the game dynamically modifies this */
GFXDECODE_ENTRY( 0x0000, 0x8000, charlayout1, 0, 2 ) /* the game dynamically modifies this */
GFXDECODE_ENTRY( 0x0000, 0x8000, charlayout2, 0, 2 ) /* the game dynamically modifies this */
GFXDECODE_ENTRY( 0x0000, 0x8000, scorelayout, 0, 2 ) /* the game dynamically modifies this */
GFXDECODE_ENTRY( nullptr, 0x8000, charlayout0, 0, 2 ) /* the game dynamically modifies this */
GFXDECODE_ENTRY( nullptr, 0x8000, charlayout1, 0, 2 ) /* the game dynamically modifies this */
GFXDECODE_ENTRY( nullptr, 0x8000, charlayout2, 0, 2 ) /* the game dynamically modifies this */
GFXDECODE_ENTRY( nullptr, 0x8000, scorelayout, 0, 2 ) /* the game dynamically modifies this */
GFXDECODE_END
void aceal_state::ace_postload()

View File

@ -1142,8 +1142,8 @@ static GFXDECODE_START( zoar )
GFXDECODE_END
static GFXDECODE_START( disco )
GFXDECODE_ENTRY( 0x0000, 0, disco_tile8layout, 0, 4 ) /* char set #1 */
GFXDECODE_ENTRY( 0x0000, 0, disco_tile16layout, 0, 4 ) /* sprites */
GFXDECODE_ENTRY( nullptr, 0, disco_tile8layout, 0, 4 ) /* char set #1 */
GFXDECODE_ENTRY( nullptr, 0, disco_tile16layout, 0, 4 ) /* sprites */
GFXDECODE_END
/***************************************************************************

View File

@ -303,7 +303,7 @@ static const gfx_layout spritelayout =
};
static GFXDECODE_START( buggychl )
GFXDECODE_ENTRY( 0x0000, 0, charlayout, 0, 8 ) /* decoded at runtime */
GFXDECODE_ENTRY( nullptr, 0, charlayout, 0, 8 ) /* decoded at runtime */
/* sprites are drawn pixel by pixel by draw_sprites() */
GFXDECODE_ENTRY( "gfx1", 0, spritelayout, 0, 8 )
GFXDECODE_END

View File

@ -924,7 +924,7 @@ static const gfx_layout charlayout =
static GFXDECODE_START( cvs )
GFXDECODE_ENTRY( "gfx1", 0x0000, charlayout, 0, 256+4 )
GFXDECODE_ENTRY( 0x0000, 0x0000, charlayout, 0, 256+4 )
GFXDECODE_ENTRY( nullptr, 0x0000, charlayout, 0, 256+4 )
GFXDECODE_END

View File

@ -680,10 +680,10 @@ static const gfx_layout objlayout =
};
static GFXDECODE_START( decocass )
GFXDECODE_ENTRY( 0x0000, 0x6000, charlayout, 0, 4 ) /* char set #1 */
GFXDECODE_ENTRY( 0x0000, 0x6000, spritelayout, 0, 4 ) /* sprites */
GFXDECODE_ENTRY( 0x0000, 0xd000, tilelayout, 32, 2 ) /* background tiles */
GFXDECODE_ENTRY( 0x0000, 0xd800, objlayout, 48, 4 ) /* object */
GFXDECODE_ENTRY( nullptr, 0x6000, charlayout, 0, 4 ) /* char set #1 */
GFXDECODE_ENTRY( nullptr, 0x6000, spritelayout, 0, 4 ) /* sprites */
GFXDECODE_ENTRY( nullptr, 0xd000, tilelayout, 32, 2 ) /* background tiles */
GFXDECODE_ENTRY( nullptr, 0xd800, objlayout, 48, 4 ) /* object */
GFXDECODE_END
PALETTE_INIT_MEMBER(decocass_state, decocass)

View File

@ -626,7 +626,7 @@ GFXDECODE_END
static GFXDECODE_START( imago )
GFXDECODE_ENTRY( "gfx1", 0, charlayout, 0, 32 )
GFXDECODE_ENTRY( 0x0000, 0xb800, imago_spritelayout, 0, 32 )
GFXDECODE_ENTRY( nullptr, 0xb800, imago_spritelayout, 0, 32 )
GFXDECODE_ENTRY( "gfx3", 0, charlayout, 0, 32 )
GFXDECODE_ENTRY( "gfx4", 0, imago_char_1bpp, 0x140, 1 )
GFXDECODE_END

View File

@ -1747,7 +1747,7 @@ static const gfx_layout fg_layout =
};
static GFXDECODE_START( gfxdecode )
GFXDECODE_ENTRY( 0x0000, 0x4000, bg_ram_layout, 0, 1 ) /* the game dynamically modifies this */
GFXDECODE_ENTRY( nullptr, 0x4000, bg_ram_layout, 0, 1 ) /* the game dynamically modifies this */
GFXDECODE_ENTRY( "bgtiles", 0x0000, bg_rom_layout, 0, 1 )
GFXDECODE_ENTRY( "sprites", 0x0000, fg_layout, 0, 1 )
GFXDECODE_END

View File

@ -220,7 +220,7 @@ static const gfx_layout sprite_layout =
static GFXDECODE_START( lemmings )
GFXDECODE_ENTRY( "gfx1", 0, sprite_layout, 0, 16 ) /* Sprites 16x16 */
GFXDECODE_ENTRY( "gfx2", 0, sprite_layout, 0, 16 ) /* Sprites 16x16 */
GFXDECODE_ENTRY( 0x0000, 0, charlayout, 0, 16 ) /* Dynamically modified */
GFXDECODE_ENTRY( nullptr, 0, charlayout, 0, 16 ) /* Dynamically modified */
GFXDECODE_END
/******************************************************************************/

View File

@ -190,7 +190,7 @@ static const gfx_layout tiles8x8_layout =
};
static GFXDECODE_START( mogura )
GFXDECODE_ENTRY( 0x0000, 0, tiles8x8_layout, 0, 8 )
GFXDECODE_ENTRY( nullptr, 0, tiles8x8_layout, 0, 8 )
GFXDECODE_END
void mogura_state::machine_start()

View File

@ -3712,12 +3712,12 @@ static const gfx_layout namcos22_cg_layout =
#undef XOR
static GFXDECODE_START( namcos22 )
GFXDECODE_ENTRY( 0x0000, 0, namcos22_cg_layout, 0, 0x800 )
GFXDECODE_ENTRY( nullptr, 0, namcos22_cg_layout, 0, 0x800 )
GFXDECODE_ENTRY( "textile", 0, texture_tile_layout, 0, 0x80 )
GFXDECODE_END
static GFXDECODE_START( super )
GFXDECODE_ENTRY( 0x0000, 0, namcos22_cg_layout, 0, 0x800 )
GFXDECODE_ENTRY( nullptr, 0, namcos22_cg_layout, 0, 0x800 )
GFXDECODE_ENTRY( "textile", 0, texture_tile_layout, 0, 0x80 )
GFXDECODE_ENTRY( "sprite", 0, sprite_layout, 0, 0x80 )
GFXDECODE_END

View File

@ -3523,7 +3523,7 @@ static const gfx_layout namcos23_cg_layout =
}; /* cg_layout */
static GFXDECODE_START( namcos23 )
GFXDECODE_ENTRY( 0x0000, 0, namcos23_cg_layout, 0, 0x800 )
GFXDECODE_ENTRY( nullptr, 0, namcos23_cg_layout, 0, 0x800 )
GFXDECODE_END

View File

@ -250,7 +250,7 @@ static const gfx_layout charlayout_3_bit =
static GFXDECODE_START( polyplay )
GFXDECODE_ENTRY( "gfx1", 0x0000, charlayout_1_bit, 0, 1 )
GFXDECODE_ENTRY( 0x0000, 0xec00, charlayout_3_bit, 2, 1 )
GFXDECODE_ENTRY( nullptr, 0xec00, charlayout_3_bit, 2, 1 )
GFXDECODE_END

View File

@ -785,18 +785,18 @@ static const gfx_layout charlayout =
static GFXDECODE_START( segag80r )
GFXDECODE_ENTRY( 0x0000, 0x0000, charlayout, 0, 16 )
GFXDECODE_ENTRY( nullptr, 0x0000, charlayout, 0, 16 )
GFXDECODE_END
static GFXDECODE_START( spaceod )
GFXDECODE_ENTRY( 0x0000, 0x0000, charlayout, 0, 16 )
GFXDECODE_ENTRY( nullptr, 0x0000, charlayout, 0, 16 )
GFXDECODE_ENTRY( "gfx1", 0x0000, gfx_8x8x6_planar, 64, 1 )
GFXDECODE_END
static GFXDECODE_START( monsterb )
GFXDECODE_ENTRY( 0x0000, 0x0000, charlayout, 0, 16 )
GFXDECODE_ENTRY( nullptr, 0x0000, charlayout, 0, 16 )
GFXDECODE_ENTRY( "gfx1", 0x0000, gfx_8x8x2_planar, 64, 16 )
GFXDECODE_END

View File

@ -725,17 +725,17 @@ static const gfx_layout charlayout_memory =
static GFXDECODE_START( sasuke )
GFXDECODE_ENTRY( 0x0000, 0x1000, swapcharlayout, 0, 4 ) /* the game dynamically modifies this */
GFXDECODE_ENTRY( nullptr, 0x1000, swapcharlayout, 0, 4 ) /* the game dynamically modifies this */
GFXDECODE_ENTRY( "gfx1", 0x0000, swapcharlayout, 4*4, 4 )
GFXDECODE_END
static GFXDECODE_START( satansat )
GFXDECODE_ENTRY( 0x0000, 0x1000, charlayout_memory, 0, 4 ) /* the game dynamically modifies this */
GFXDECODE_ENTRY( nullptr, 0x1000, charlayout_memory, 0, 4 ) /* the game dynamically modifies this */
GFXDECODE_ENTRY( "gfx1", 0x0000, charlayout, 4*4, 4 )
GFXDECODE_END
static GFXDECODE_START( vanguard )
GFXDECODE_ENTRY( 0x0000, 0x1000, charlayout_memory, 0, 8 ) /* the game dynamically modifies this */
GFXDECODE_ENTRY( nullptr, 0x1000, charlayout_memory, 0, 8 ) /* the game dynamically modifies this */
GFXDECODE_ENTRY( "gfx1", 0x0000, charlayout, 8*4, 8 )
GFXDECODE_END

View File

@ -2444,8 +2444,8 @@ static const gfx_layout layout_16x8x6_ram =
};
static GFXDECODE_START( eaglshot )
GFXDECODE_ENTRY( 0x0000, 0, layout_16x8x8_ram, 0, 0x8000/64 ) // [0] Sprites (256 colors, decoded from ram)
GFXDECODE_ENTRY( 0x0000, 0, layout_16x8x6_ram, 0, 0x8000/64 ) // [1] Sprites (64 colors, decoded from ram)
GFXDECODE_ENTRY( nullptr, 0, layout_16x8x8_ram, 0, 0x8000/64 ) // [0] Sprites (256 colors, decoded from ram)
GFXDECODE_ENTRY( nullptr, 0, layout_16x8x6_ram, 0, 0x8000/64 ) // [1] Sprites (64 colors, decoded from ram)
GFXDECODE_END
static const gfx_layout layout_16x16x8 =

View File

@ -386,10 +386,10 @@ static const gfx_layout tile_layout =
};
static GFXDECODE_START( taito_f3 )
GFXDECODE_ENTRY( 0x0000, 0x000000, charlayout, 0x0000, 0x0400>>4 ) /* Dynamically modified */
GFXDECODE_ENTRY( nullptr, 0x000000, charlayout, 0x0000, 0x0400>>4 ) /* Dynamically modified */
GFXDECODE_ENTRY( "gfx2", 0x000000, tile_layout, 0x0000, 0x2000>>4 ) /* Tiles area */
GFXDECODE_ENTRY( "gfx1", 0x000000, spriteram_layout, 0x1000, 0x1000>>4 ) /* Sprites area */
GFXDECODE_ENTRY( 0x0000, 0x000000, pivotlayout, 0x0000, 0x400>>4 ) /* Dynamically modified */
GFXDECODE_ENTRY( nullptr, 0x000000, pivotlayout, 0x0000, 0x400>>4 ) /* Dynamically modified */
GFXDECODE_END
/******************************************************************************/
@ -523,10 +523,10 @@ static const gfx_layout bubsympb_tile_layout =
static GFXDECODE_START( bubsympb )
GFXDECODE_ENTRY( 0x0000, 0x000000, charlayout, 0, 64 ) /* Dynamically modified */
GFXDECODE_ENTRY( nullptr, 0x000000, charlayout, 0, 64 ) /* Dynamically modified */
GFXDECODE_ENTRY( "gfx2", 0x000000, bubsympb_tile_layout, 0, 512 ) /* Tiles area */
GFXDECODE_ENTRY( "gfx1", 0x000000, bubsympb_sprite_layout, 4096, 256 ) /* Sprites area */
GFXDECODE_ENTRY( 0x0000, 0x000000, pivotlayout, 0, 64 ) /* Dynamically modified */
GFXDECODE_ENTRY( nullptr, 0x000000, pivotlayout, 0, 64 ) /* Dynamically modified */
GFXDECODE_END
static MACHINE_CONFIG_START( bubsympb, taito_f3_state )

View File

@ -1700,7 +1700,7 @@ static const gfx_layout char_layout =
static GFXDECODE_START( taito_l )
GFXDECODE_ENTRY( "gfx1", 0, bg2_layout, 0, 16 )
GFXDECODE_ENTRY( "gfx1", 0, sp2_layout, 0, 16 )
GFXDECODE_ENTRY( 0x0000, 0, char_layout, 0, 16 ) // Ram-based
GFXDECODE_ENTRY( nullptr, 0, char_layout, 0, 16 ) // Ram-based
GFXDECODE_END

View File

@ -1703,10 +1703,10 @@ static const gfx_layout spritelayout =
static GFXDECODE_START( taitosj )
GFXDECODE_ENTRY( 0x0000, 0x9000, charlayout, 0, 8 ) /* the game dynamically modifies this */
GFXDECODE_ENTRY( 0x0000, 0x9000, spritelayout, 0, 8 ) /* the game dynamically modifies this */
GFXDECODE_ENTRY( 0x0000, 0xa800, charlayout, 0, 8 ) /* the game dynamically modifies this */
GFXDECODE_ENTRY( 0x0000, 0xa800, spritelayout, 0, 8 ) /* the game dynamically modifies this */
GFXDECODE_ENTRY( nullptr, 0x9000, charlayout, 0, 8 ) /* the game dynamically modifies this */
GFXDECODE_ENTRY( nullptr, 0x9000, spritelayout, 0, 8 ) /* the game dynamically modifies this */
GFXDECODE_ENTRY( nullptr, 0xa800, charlayout, 0, 8 ) /* the game dynamically modifies this */
GFXDECODE_ENTRY( nullptr, 0xa800, spritelayout, 0, 8 ) /* the game dynamically modifies this */
GFXDECODE_END

View File

@ -832,7 +832,7 @@ GFXDECODE_END
static GFXDECODE_START( roundup5 )
GFXDECODE_ENTRY( "gfx1", 0, spritelayout, 1024, 256)
GFXDECODE_ENTRY( 0x0000, 0, roundup5_vramlayout, 0, 16)
GFXDECODE_ENTRY( nullptr, 0, roundup5_vramlayout, 0, 16)
GFXDECODE_END
static GFXDECODE_START( cyclwarr )

View File

@ -216,7 +216,7 @@ static const gfx_layout char_layout =
};
static GFXDECODE_START( tiamc1 )
GFXDECODE_ENTRY( 0x0000, 0x0000, char_layout, 0, 16 )
GFXDECODE_ENTRY( nullptr, 0x0000, char_layout, 0, 16 )
GFXDECODE_ENTRY( "gfx1", 0x0000, sprites16x16_layout, 0, 16 )
GFXDECODE_END

View File

@ -3057,7 +3057,7 @@ static const gfx_layout fixeightblayout =
};
static GFXDECODE_START( truxton2 )
GFXDECODE_ENTRY( 0x0000, 0, truxton2_tx_tilelayout, 64*16, 64 )
GFXDECODE_ENTRY( nullptr, 0, truxton2_tx_tilelayout, 64*16, 64 )
GFXDECODE_END
static GFXDECODE_START( raizing )
@ -3065,7 +3065,7 @@ static GFXDECODE_START( raizing )
GFXDECODE_END
static GFXDECODE_START( batrider )
GFXDECODE_ENTRY( 0x0000, 0, batrider_tx_tilelayout, 64*16, 64 )
GFXDECODE_ENTRY( nullptr, 0, batrider_tx_tilelayout, 64*16, 64 )
GFXDECODE_END
static GFXDECODE_START( fixeightbl )

View File

@ -294,7 +294,7 @@ static const gfx_layout charlayout =
};
static GFXDECODE_START( trvmadns )
GFXDECODE_ENTRY( 0x0000, 0x6000, charlayout, 0, 4 ) // doesn't matter where we point this, all the tiles are decoded while the game runs
GFXDECODE_ENTRY( nullptr, 0x6000, charlayout, 0, 4 ) // doesn't matter where we point this, all the tiles are decoded while the game runs
GFXDECODE_END
TILE_GET_INFO_MEMBER(trvmadns_state::get_bg_tile_info)

View File

@ -185,7 +185,7 @@ static const gfx_layout spritelayout =
static GFXDECODE_START( tryout )
GFXDECODE_ENTRY( "gfx1", 0, charlayout, 0, 8 )
GFXDECODE_ENTRY( "gfx2", 0, spritelayout, 0, 4 )
GFXDECODE_ENTRY( 0x0000, 0, vramlayout, 0, 4 )
GFXDECODE_ENTRY( nullptr, 0, vramlayout, 0, 4 )
GFXDECODE_END
static MACHINE_CONFIG_START( tryout, tryout_state )

View File

@ -209,7 +209,7 @@ static const gfx_layout charlayout =
};
static GFXDECODE_START( usgames )
GFXDECODE_ENTRY( 0x0000, 0x2800, charlayout, 0, 256 )
GFXDECODE_ENTRY( nullptr, 0x2800, charlayout, 0, 256 )
GFXDECODE_END

View File

@ -361,7 +361,7 @@ static const gfx_layout tilelayout =
static GFXDECODE_START( madalien )
GFXDECODE_ENTRY( 0x0000, 0, charlayout, 0x20, 2 ) /* foreground characters, stored in RAM */
GFXDECODE_ENTRY( nullptr, 0, charlayout, 0x20, 2 ) /* foreground characters, stored in RAM */
GFXDECODE_ENTRY( "gfx1", 0, tilelayout, 0, 4 )
GFXDECODE_ENTRY( "gfx2", 0, headlightlayout, 0, 1 )
GFXDECODE_END