mirror of
https://github.com/holub/mame
synced 2025-05-19 20:29:09 +03:00
Added helper macro for CDP1864 screen creation.
This commit is contained in:
parent
d35f31d98f
commit
102e50f9e9
@ -82,6 +82,11 @@
|
||||
MDRV_DEVICE_CONFIG_DATAPTR(sound_config, type, SOUND_CDP1864) \
|
||||
MDRV_DEVICE_CONFIG(_config)
|
||||
|
||||
#define MDRV_CDP1864_SCREEN_ADD(_tag, _clock) \
|
||||
MDRV_SCREEN_ADD(_tag, RASTER) \
|
||||
MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16) \
|
||||
MDRV_SCREEN_RAW_PARAMS(_clock, CDP1864_SCREEN_WIDTH, CDP1864_HBLANK_END, CDP1864_HBLANK_START, CDP1864_TOTAL_SCANLINES, CDP1864_SCANLINE_VBLANK_END, CDP1864_SCANLINE_VBLANK_START)
|
||||
|
||||
#define CDP1864_INTERFACE(name) \
|
||||
const cdp1864_interface (name) =
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user