From 420e1e0ad52e1e0341d9ca2d1745e413a47fe6c0 Mon Sep 17 00:00:00 2001 From: Aaron Giles Date: Thu, 2 Sep 2010 09:13:01 +0000 Subject: Added include files for all remaining drivers with multiple source files. [Atari Ace] ---------- Forwarded message ---------- From: Atari Ace Date: Sun, Aug 29, 2010 at 10:35 PM Subject: [patch] Add missing include files for multi-file drivers To: submit@mamedev.org Cc: atariace@hotmail.com Hi mamdev, Converting a driver to use driver_data requires that multi-file drivers have a common include file to host the driver_data class. Thus this patch, which gets ahead of the curve and adds missing include files to all multi-file drivers (minus ones covered by my last driver_data patch). The first patch is include-related cleanup of the existing drivers. The second patch then adds ~100 files to mame/includes. ~aa --- src/mame/drivers/tp84.c | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) (limited to 'src/mame/drivers/tp84.c') diff --git a/src/mame/drivers/tp84.c b/src/mame/drivers/tp84.c index 09c8c79978b..705de99967a 100644 --- a/src/mame/drivers/tp84.c +++ b/src/mame/drivers/tp84.c @@ -70,24 +70,7 @@ C004 76489 #4 trigger #include "sound/sn76496.h" #include "sound/flt_rc.h" #include "includes/konamipt.h" - -extern UINT8 *tp84_bg_videoram; -extern UINT8 *tp84_bg_colorram; -extern UINT8 *tp84_fg_videoram; -extern UINT8 *tp84_fg_colorram; -extern UINT8 *tp84_spriteram; -extern UINT8 *tp84_scroll_x; -extern UINT8 *tp84_scroll_y; -extern UINT8 *tp84_palette_bank; -extern UINT8 *tp84_flipscreen_x; -extern UINT8 *tp84_flipscreen_y; - -WRITE8_HANDLER( tp84_spriteram_w ); -READ8_HANDLER( tp84_scanline_r ); - -PALETTE_INIT( tp84 ); -VIDEO_START( tp84 ); -VIDEO_UPDATE( tp84 ); +#include "includes/tp84.h" static cpu_device *audiocpu; -- cgit v1.2.3