mame/src/emu/drivers/empty.c
Aaron Giles 2388986295 Device tag renaming. Moving away from generic names like "main"
to names that capture the device type as well. Added validity
checks for the short-term to prevent the continuance of this
pattern (which I started :)

Changes:
  CPU/"main" -> "maincpu"
  CPU/"audio" -> "audiocpu"
  CPU/"sound" -> "soundcpu"
  SCREEN/main -> "screen" (since it's the only one)

Eventually, devices will be required to have unique tags within
a machine, regardless of type.
2009-02-25 06:28:42 +00:00

69 lines
1.3 KiB
C

/*************************************************************************
empty.c
Empty driver.
Copyright Nicola Salmoria and the MAME Team.
Visit http://mamedev.org for licensing and usage restrictions.
**************************************************************************/
#include "driver.h"
#include "uimenu.h"
/*************************************
*
* Machine "start"
*
*************************************/
static MACHINE_START( empty )
{
/* force the UI to show the game select screen */
ui_menu_force_game_select(machine);
}
/*************************************
*
* Machine drivers
*
*************************************/
static MACHINE_DRIVER_START( empty )
MDRV_MACHINE_START(empty)
/* video hardware */
MDRV_SCREEN_ADD("screen", RASTER)
MDRV_SCREEN_FORMAT(BITMAP_FORMAT_RGB32)
MDRV_SCREEN_SIZE(640,480)
MDRV_SCREEN_VISIBLE_AREA(0,639, 0,479)
MDRV_SCREEN_REFRESH_RATE(30)
MACHINE_DRIVER_END
/*************************************
*
* ROM definitions
*
*************************************/
ROM_START( empty )
ROM_REGION( 0x10, "user1", 0 )
ROM_END
/*************************************
*
* Game drivers
*
*************************************/
GAME( 2007, empty, 0, empty, 0, 0, ROT0, "MAME", "No Driver Loaded", 0 )