diff options
author | 2008-02-19 17:52:21 +0000 | |
---|---|---|
committer | 2008-02-19 17:52:21 +0000 | |
commit | aad4c81ac46e4f64b7a36b00798b53433873da1a (patch) | |
tree | bb0ac4260faea21903dddbd400f6eed1934e8380 /src/emu/mame.h | |
parent | 3d8658108fdccc1c26fca29ebed0990728d0614e (diff) |
Pulled remaining vestiges of old-style colortables:
* PALETTE_INIT no longer has a colortable parameter
* removed game_colortable and remapped_colortable from machine_config
* updated a few stragglers that still referenced these fields
* removed tile_draw_colortable from tilemap.c
(From Zsolt): Added support for the new colortable object in the palette viewer
Changed the input port tokens to use a union instead of casting everything to FPTR.
In the future, C99-enabled compilers will be able to achieve type safety with
designated initializers.
Diffstat (limited to 'src/emu/mame.h')
-rw-r--r-- | src/emu/mame.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/emu/mame.h b/src/emu/mame.h index 416a457af5c..37c007875fc 100644 --- a/src/emu/mame.h +++ b/src/emu/mame.h @@ -183,12 +183,8 @@ struct _running_machine palette_t * palette; /* global palette object */ /* palette-related information */ -/* fix me - some games try to modify remapped_colortable directly */ -/* search for "palette hack" to find instances */ const pen_t * pens; /* remapped palette pen numbers */ struct _colortable_t * colortable; /* global colortable for remapping */ - const UINT16 * game_colortable; /* lookup table used to map gfx pen numbers to color numbers */ - const pen_t * remapped_colortable;/* the above, already remapped through machine->pens */ pen_t * shadow_table; /* table for looking up a shadowed pen */ /* audio-related information */ |