Previous 199869 Revisions Next

r26010 Tuesday 5th November, 2013 at 17:58:50 UTC by Osso
Some legacy macros cleanups. (nw)
[src/emu]devlegcy.h drivlgcy.h
[src/emu/video]v9938.c
[src/mame/audio]dkong.c
[src/mame/drivers]asteroid.c bwidow.c bzone.c mhavoc.c omegrace.c quantum.c starwars.c tempest.c tomcat.c

trunk/src/mame/drivers/bzone.c
r26009r26010
212212#include "includes/bzone.h"
213213#include "sound/pokey.h"
214214#include "drivlgcy.h"
215#include "scrlegcy.h"
216215
217216#include "bzone.lh"
218217#include "redbaron.lh"
trunk/src/mame/drivers/quantum.c
r26009r26010
5151#include "sound/discrete.h"
5252#include "machine/nvram.h"
5353#include "drivlgcy.h"
54#include "scrlegcy.h"
5554
5655
5756class quantum_state : public driver_device
trunk/src/mame/drivers/bwidow.c
r26009r26010
227227#include "includes/bwidow.h"
228228
229229#include "drivlgcy.h"
230#include "scrlegcy.h"
231230
232231
233
234232#define IN_LEFT (1 << 0)
235233#define IN_RIGHT (1 << 1)
236234#define IN_FIRE (1 << 2)
trunk/src/mame/drivers/asteroid.c
r26009r26010
192192#include "sound/discrete.h"
193193#include "sound/pokey.h"
194194#include "drivlgcy.h"
195#include "scrlegcy.h"
196195
197196#include "astdelux.lh"
198197
trunk/src/mame/drivers/tomcat.c
r26009r26010
3535#include "sound/tms5220.h"
3636#include "sound/2151intf.h"
3737#include "drivlgcy.h"
38#include "scrlegcy.h"
3938
4039
40
4141class tomcat_state : public driver_device
4242{
4343public:
trunk/src/mame/drivers/starwars.c
r26009r26010
3232#include "includes/starwars.h"
3333#include "includes/slapstic.h"
3434#include "drivlgcy.h"
35#include "scrlegcy.h"
3635
36
3737#define MASTER_CLOCK (12096000)
3838#define CLOCK_3KHZ  (MASTER_CLOCK / 4096)
3939
trunk/src/mame/drivers/tempest.c
r26009r26010
281281#include "machine/atari_vg.h"
282282#include "sound/pokey.h"
283283#include "drivlgcy.h"
284#include "scrlegcy.h"
285284
286285
287286class tempest_state : public driver_device
trunk/src/mame/drivers/mhavoc.c
r26009r26010
193193#include "machine/nvram.h"
194194#include "includes/mhavoc.h"
195195#include "drivlgcy.h"
196#include "scrlegcy.h"
197196
197
198198READ8_MEMBER(mhavoc_state::quad_pokeyn_r)
199199{
200200   static const char *const devname[4] = { "pokey1", "pokey2", "pokey3", "pokey4" };
trunk/src/mame/drivers/omegrace.c
r26009r26010
220220#include "sound/ay8910.h"
221221#include "machine/nvram.h"
222222#include "drivlgcy.h"
223#include "scrlegcy.h"
224223
225224#include "omegrace.lh"
226225
trunk/src/mame/audio/dkong.c
r26009r26010
66#include "sound/tms5110.h"
77
88#include "includes/dkong.h"
9#include "drivlgcy.h"
109
10
1111/****************************************************************
1212 *
1313 * Defines and Macros
trunk/src/emu/video/v9938.c
r26009r26010
1616
1717#include "emu.h"
1818#include "v9938.h"
19#include "drivlgcy.h"
2019
2120#define VERBOSE 0
2221#define LOG(x)  do { if (VERBOSE) logerror x; } while (0)
trunk/src/emu/drivlgcy.h
r26009r26010
2323#define MCFG_MACHINE_RESET(_func) \
2424   driver_device::static_set_callback(*owner, driver_device::CB_MACHINE_RESET, MACHINE_RESET_NAME(_func));
2525
26#define MCFG_SOUND_RESET(_func) \
27   driver_device::static_set_callback(*owner, driver_device::CB_SOUND_RESET, SOUND_RESET_NAME(_func));
28
2926#define MCFG_PALETTE_INIT(_func) \
3027   driver_device::static_set_callback(*owner, driver_device::CB_PALETTE_INIT, PALETTE_INIT_NAME(_func));
3128
trunk/src/emu/devlegcy.h
r26009r26010
2323
2424#define DEVICE_STOP_NAME(name)      device_stop_##name
2525#define DEVICE_STOP(name)           void DEVICE_STOP_NAME(name)(device_t *device)
26#define DEVICE_STOP_CALL(name)      DEVICE_STOP_NAME(name)(device)
2726
2827#define DEVICE_RESET_NAME(name)     device_reset_##name
2928#define DEVICE_RESET(name)          void DEVICE_RESET_NAME(name)(device_t *device)

Previous 199869 Revisions Next


© 1997-2024 The MAME Team