1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
// license:BSD-3-Clause
// copyright-holders:Aaron Giles
/*************************************************************************
empty.c
Empty driver.
**************************************************************************/
#include "emu.h"
#include "emuopts.h"
#include "render.h"
//**************************************************************************
// DRIVER STATE
//**************************************************************************
class empty_state : public driver_device
{
public:
// constructor
using driver_device::driver_device;
void ___empty(machine_config &config);
protected:
virtual void machine_start() override
{
emulator_info::display_ui_chooser(machine());
}
u32 screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect)
{
bitmap.fill(rgb_t::black(), cliprect);
return 0;
}
};
//**************************************************************************
// MACHINE DRIVERS
//**************************************************************************
void empty_state::___empty(machine_config &config)
{
// video hardware
screen_device &screen(SCREEN(config, "screen", SCREEN_TYPE_RASTER));
screen.set_screen_update(FUNC(empty_state::screen_update));
screen.set_size(640, 480);
screen.set_visarea(0, 639, 0, 479);
screen.set_refresh_hz(30);
}
//**************************************************************************
// ROM DEFINITIONS
//**************************************************************************
ROM_START( ___empty )
ROM_REGION( 0x10, "user1", ROMREGION_ERASEFF )
ROM_END
//**************************************************************************
// GAME DRIVERS
//**************************************************************************
GAME( 2007, ___empty, 0, ___empty, 0, empty_state, empty_init, ROT0, "MAME", "No Driver Loaded", MACHINE_NO_SOUND_HW )
|