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.
Renamed driver overrides to MCFG_MACHINE/SOUND/VIDEO_START_OVERRIDE to
explicitly indicate they are overriding the default behavior.
Put liberatr back the way it used to be.
Added optional/required_shared_ptr_array classes so that you can
populate an array of shared pointers. You provide a base tag name,
and each item in the array is populated with tag.n, where n is the
array index.
Updated a couple of drivers using arrays to either not use arrays
(where they weren't really providing any benefit) or to use the new
array classes.
You still need target() if you want to cast to another pointer size.
This should be rare, and in fact fixing these pointed out a few
cases where code was missing BYTE/WORD/DWORD_XOR_* macros. I flagged
these with:
// ERROR: This cast is NOT endian-safe without the use of BYTE/WORD/DWORD_XOR_* macros!
For future fixing.
make its purpose clearer.
Added delegate support for interrupt callbacks, and made driver_device
variants of the generic interrupt helper callbacks. Did not convert
existing callers yet due to logistical issues.
machine/sound/video_start/reset. Changed liberatr as an example.
If a callback is specified, it is called in place of the corresponding
virtual method.
Not entirely sure I like this, so consider the example open for
discussion.
- Slightly reworked some previous PGM submissions.
- Reorganized many bfm_sc4/sc5 sound roms.
- Added some notes, code and alternate revisions to astrafr.c.
New games marked as GAME_NOT_WORKING
------------------------------------
Knights of Valour: Aoshi Sanguo / Sangoku Senki: Aoshi Sanguo (ver. 202CN) Bootleg [Unknown source]
Normalized soundlatch helper function names.
Created delegates for machine/sound/video_start/reset callbacks and
added necessary infrastructure to use them going forward.