diff options
author | Aaron Giles <aaron@aarongiles.com> | 2012-04-12 09:20:25 +0000 |
---|---|---|
committer | Aaron Giles <aaron@aarongiles.com> | 2012-04-12 09:20:25 +0000 |
commit | 4976bd3d8b0437432c648dbccc363b1e62546286 (patch) | |
tree | 92cc13d90ad4be3dd2d92e7d4b15614add5dc130 /src/mame/video/redclash.c | |
parent | 332011b258268ad0df674ccf525d09c4c61e6f85 (diff) |
Remove color_prom parameter from PALETTE_INIT. Added code where
necessary to fetch the color_prom directly. Made PALETTE_INIT
into just another basic callback with an overridable palette_init()
in the driver_device, and support for arbitrary member functions via
MCFG_PALETTE_INIT_OVERRIDE.
Diffstat (limited to 'src/mame/video/redclash.c')
-rw-r--r-- | src/mame/video/redclash.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mame/video/redclash.c b/src/mame/video/redclash.c index e9e98e88f4b..6c28df2ab2c 100644 --- a/src/mame/video/redclash.c +++ b/src/mame/video/redclash.c @@ -20,6 +20,7 @@ PALETTE_INIT( redclash ) { + const UINT8 *color_prom = machine.region("proms")->base(); int i; /* allocate the colortable */ |