trunk/src/emu/emupal.h
| r30793 | r30794 | |
| 180 | 180 | #define MCFG_PALETTE_FORMAT(_format) \ |
| 181 | 181 | palette_device::static_set_format(*device, PALETTE_FORMAT_##_format); |
| 182 | 182 | |
| 183 | #define MCFG_PALETTE_FORMAT_CLASS(_bytes_per_entry, _class, _format) \ |
| 184 | palette_device::static_set_format(*device, raw_to_rgb_converter(_bytes_per_entry, &_class::_format##_decoder)); |
| 185 | |
| 183 | 186 | #define MCFG_PALETTE_MEMBITS(_width) \ |
| 184 | 187 | palette_device::static_set_membits(*device, _width); |
| 185 | 188 | |
trunk/src/mess/drivers/x68k.c
| r30793 | r30794 | |
| 1718 | 1718 | MCFG_GFXDECODE_ADD("gfxdecode", "pcgpalette", empty) |
| 1719 | 1719 | |
| 1720 | 1720 | MCFG_PALETTE_ADD("gfxpalette", 256) |
| 1721 | | palette_device::static_set_format(*device, raw_to_rgb_converter(2, &x68k_state::GGGGGRRRRRBBBBBI_decoder)); |
| 1721 | MCFG_PALETTE_FORMAT_CLASS(2, x68k_state, GGGGGRRRRRBBBBBI) |
| 1722 | 1722 | MCFG_PALETTE_ADD("pcgpalette", 256) |
| 1723 | | palette_device::static_set_format(*device, raw_to_rgb_converter(2, &x68k_state::GGGGGRRRRRBBBBBI_decoder)); |
| 1723 | MCFG_PALETTE_FORMAT_CLASS(2, x68k_state, GGGGGRRRRRBBBBBI) |
| 1724 | 1724 | |
| 1725 | 1725 | MCFG_VIDEO_START_OVERRIDE(x68k_state, x68000 ) |
| 1726 | 1726 | |