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