- 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:
Zsolt Vasvari 2008-01-18 16:45:06 +00:00
parent 32f25eb010
commit 94e64171ca
6 changed files with 3 additions and 15 deletions

View file

@ -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);
}

View file

@ -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 */

View file

@ -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 */

View file

@ -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 */

View file

@ -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)

View file

@ -215,7 +215,6 @@ static MACHINE_DRIVER_START( subs )
MDRV_PALETTE_INIT(subs)
MDRV_VIDEO_START(generic)
MDRV_VIDEO_UPDATE(subs)