mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
- Removed no longer applicable assert from VIDEO_START(generic)
- Removed VIDEO_START(generic) from drivers that didn't need it. This leaves about 8 drivers with it.
This commit is contained in:
parent
32f25eb010
commit
94e64171ca
6 changed files with 3 additions and 15 deletions
|
@ -308,8 +308,6 @@ void generic_video_init(running_machine *machine)
|
|||
|
||||
VIDEO_START( generic )
|
||||
{
|
||||
assert_always(videoram_size != 0, "VIDEO_START(generic) requires non-zero videoram_size");
|
||||
|
||||
/* allocate the temporary bitmap */
|
||||
tmpbitmap = auto_bitmap_alloc(machine->screen[0].width, machine->screen[0].height, machine->screen[0].format);
|
||||
}
|
||||
|
|
|
@ -270,7 +270,6 @@ static MACHINE_DRIVER_START( momoko )
|
|||
MDRV_GFXDECODE(momoko)
|
||||
MDRV_PALETTE_LENGTH(512)
|
||||
|
||||
MDRV_VIDEO_START(generic)
|
||||
MDRV_VIDEO_UPDATE(momoko)
|
||||
|
||||
/* sound hardware */
|
||||
|
|
|
@ -256,7 +256,6 @@ static MACHINE_DRIVER_START( rollrace )
|
|||
MDRV_PALETTE_LENGTH(256)
|
||||
|
||||
MDRV_PALETTE_INIT(wiz)
|
||||
MDRV_VIDEO_START(generic)
|
||||
MDRV_VIDEO_UPDATE(rollrace)
|
||||
|
||||
/* sound hardware */
|
||||
|
|
|
@ -91,13 +91,9 @@ PROM : Type MB7051
|
|||
#include "driver.h"
|
||||
#include "cpu/z80/z80.h"
|
||||
#include "sound/ay8910.h"
|
||||
|
||||
//VIDEO_START( shougi )
|
||||
//{
|
||||
// generic_vh_start();
|
||||
//}
|
||||
|
||||
#include "video/resnet.h"
|
||||
|
||||
|
||||
/***************************************************************************
|
||||
|
||||
Convert the color PROMs into a more useable format.
|
||||
|
@ -180,8 +176,7 @@ int offs;
|
|||
*BITMAP_ADDR16(bitmap, 255-sy, 255-(sx*4 + x)) = color*4 + data;
|
||||
}
|
||||
}
|
||||
/* copy the character mapped graphics */
|
||||
//copybitmap(bitmap,tmpbitmap,0,0,0,0,&machine->screen[0].visarea,TRANSPARENCY_NONE,0);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -385,7 +380,6 @@ static MACHINE_DRIVER_START( shougi )
|
|||
MDRV_PALETTE_LENGTH(32)
|
||||
|
||||
MDRV_PALETTE_INIT(shougi)
|
||||
MDRV_VIDEO_START(generic)
|
||||
MDRV_VIDEO_UPDATE(shougi)
|
||||
|
||||
/* sound hardware */
|
||||
|
|
|
@ -777,7 +777,6 @@ static MACHINE_DRIVER_START( iremm10 )
|
|||
MDRV_COLORTABLE_LENGTH(2*8)
|
||||
|
||||
MDRV_PALETTE_INIT(skychut)
|
||||
//MDRV_VIDEO_START(generic)
|
||||
MDRV_VIDEO_START(iremm10)
|
||||
MDRV_VIDEO_UPDATE(iremm10)
|
||||
|
||||
|
|
|
@ -215,7 +215,6 @@ static MACHINE_DRIVER_START( subs )
|
|||
|
||||
|
||||
MDRV_PALETTE_INIT(subs)
|
||||
MDRV_VIDEO_START(generic)
|
||||
MDRV_VIDEO_UPDATE(subs)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue