Fix most reported errors.

This commit is contained in:
Aaron Giles 2012-04-16 08:28:56 +00:00
parent b383296ea9
commit fe9fb6ff9f
132 changed files with 362 additions and 328 deletions

View File

@ -877,7 +877,7 @@ void *device_t::finder_base::find_memory(UINT8 width, size_t &bytes, bool requir
mame_printf_error("Shared ptr '%s' not found\n", m_tag);
return NULL;
}
if (share->width() != width)
if (width != 0 && share->width() != width)
{
if (required)
mame_printf_warning("Shared ptr '%s' found but is width %d, not %d as requested\n", m_tag, share->width(), width);

View File

@ -411,12 +411,12 @@ class device_t::shared_ptr_finder : public device_t::finder_base
{
public:
// construction/destruction
shared_ptr_finder(device_t &base, const char *tag, UINT8 width = 0)
shared_ptr_finder(device_t &base, const char *tag, UINT8 width = sizeof(_PointerType) * 8)
: finder_base(base, tag),
m_target(0),
m_bytes(0),
m_allocated(false),
m_width((width != 0) ? width : sizeof(_PointerType) * 8) { }
m_width(width) { }
virtual ~shared_ptr_finder() { if (m_allocated) global_free(m_target); }
@ -459,7 +459,7 @@ template<class _PointerType>
class device_t::optional_shared_ptr : public device_t::shared_ptr_finder<_PointerType, false>
{
public:
optional_shared_ptr(device_t &base, const char *tag, UINT8 width = 0) : shared_ptr_finder<_PointerType, false>(base, tag, width) { }
optional_shared_ptr(device_t &base, const char *tag, UINT8 width = sizeof(_PointerType) * 8) : shared_ptr_finder<_PointerType, false>(base, tag, width) { }
};
// required shared pointer finder
@ -467,7 +467,7 @@ template<class _PointerType>
class device_t::required_shared_ptr : public device_t::shared_ptr_finder<_PointerType, true>
{
public:
required_shared_ptr(device_t &base, const char *tag, UINT8 width = 0) : shared_ptr_finder<_PointerType, true>(base, tag, width) { }
required_shared_ptr(device_t &base, const char *tag, UINT8 width = sizeof(_PointerType) * 8) : shared_ptr_finder<_PointerType, true>(base, tag, width) { }
};
@ -481,7 +481,7 @@ class device_t::shared_ptr_array_finder
public:
// construction/destruction
shared_ptr_array_finder(device_t &base, const char *basetag, UINT8 width = 0)
shared_ptr_array_finder(device_t &base, const char *basetag, UINT8 width = sizeof(_PointerType) * 8)
{
for (int index = 0; index < _Count; index++)
m_array[index] = global_alloc(shared_ptr_type(base, m_tag[index].format("%s.%d", basetag, index), width));
@ -508,7 +508,7 @@ template<class _PointerType, int _Count>
class device_t::optional_shared_ptr_array : public device_t::shared_ptr_array_finder<_PointerType, _Count, false>
{
public:
optional_shared_ptr_array(device_t &base, const char *tag, UINT8 width = 0) : shared_ptr_array_finder<_PointerType, _Count, false>(base, tag, width) { }
optional_shared_ptr_array(device_t &base, const char *tag, UINT8 width = sizeof(_PointerType) * 8) : shared_ptr_array_finder<_PointerType, _Count, false>(base, tag, width) { }
};
// required shared pointer array finder
@ -516,7 +516,7 @@ template<class _PointerType, int _Count>
class device_t::required_shared_ptr_array : public device_t::shared_ptr_array_finder<_PointerType, _Count, true>
{
public:
required_shared_ptr_array(device_t &base, const char *tag, UINT8 width = 0) : shared_ptr_array_finder<_PointerType, _Count, true>(base, tag, width) { }
required_shared_ptr_array(device_t &base, const char *tag, UINT8 width = sizeof(_PointerType) * 8) : shared_ptr_array_finder<_PointerType, _Count, true>(base, tag, width) { }
};

View File

@ -58,14 +58,14 @@ public:
optional_shared_ptr<UINT16> m_nvram;
UINT8 *m_blit_buffer;
required_shared_ptr<UINT16> m_frame_buffer;
required_shared_ptr<UINT16> m_blit_romaddr;
required_shared_ptr<UINT16> m_blit_attr1_ram;
required_shared_ptr<UINT16> m_blit_dst_ram_loword;
required_shared_ptr<UINT16> m_blit_attr2_ram;
required_shared_ptr<UINT16> m_blit_dst_ram_hiword;
required_shared_ptr<UINT16> m_blit_vregs;
required_shared_ptr<UINT16> m_blit_transpen;
optional_shared_ptr<UINT16> m_frame_buffer;
optional_shared_ptr<UINT16> m_blit_romaddr;
optional_shared_ptr<UINT16> m_blit_attr1_ram;
optional_shared_ptr<UINT16> m_blit_dst_ram_loword;
optional_shared_ptr<UINT16> m_blit_attr2_ram;
optional_shared_ptr<UINT16> m_blit_dst_ram_hiword;
optional_shared_ptr<UINT16> m_blit_vregs;
optional_shared_ptr<UINT16> m_blit_transpen;
optional_shared_ptr<UINT16> m_leds0;
optional_shared_ptr<UINT16> m_leds1;
optional_shared_ptr<UINT16> m_leds2;

View File

@ -116,7 +116,7 @@ public:
m_vid1(*this, "vid1"),
m_vid2(*this, "vid2"){ }
required_shared_ptr<UINT8> m_stats_ram;
optional_shared_ptr<UINT8> m_stats_ram;
required_shared_ptr<UINT16> m_vid1;
required_shared_ptr<UINT16> m_vid2;
UINT8 *m_bmc_colorram;

View File

@ -315,9 +315,9 @@ ADDRESS_MAP_END
static ADDRESS_MAP_START( vgoal_map, AS_PROGRAM, 16, gstriker_state )
AM_RANGE(0x000000, 0x0fffff) AM_ROM
AM_RANGE(0x100000, 0x103fff) AM_RAM_WRITE(MB60553_0_vram_w) AM_SHARE("mb60553.vram")
AM_RANGE(0x140000, 0x141fff) AM_RAM AM_SHARE("cg10103.vram")
AM_RANGE(0x180000, 0x180fff) AM_RAM_WRITE(VS920A_0_vram_w) AM_SHARE("vs920a.vram")
AM_RANGE(0x100000, 0x103fff) AM_RAM_WRITE(MB60553_0_vram_w) AM_SHARE("mb60553_vram")
AM_RANGE(0x140000, 0x141fff) AM_RAM AM_SHARE("cg10103_vram")
AM_RANGE(0x180000, 0x180fff) AM_RAM_WRITE(VS920A_0_vram_w) AM_SHARE("vs920a_vram")
AM_RANGE(0x181000, 0x181fff) AM_RAM AM_SHARE("lineram")
AM_RANGE(0x1c0000, 0x1c4fff) AM_RAM_WRITE(paletteram_xRRRRRGGGGGBBBBB_word_w) AM_SHARE("paletteram")
AM_RANGE(0x200000, 0x20000f) AM_RAM_WRITE(MB60553_0_regs_w)

View File

@ -329,8 +329,8 @@ public:
hornet_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag),
m_workram(*this, "workram"),
m_sharc_dataram0(*this, "share_dataram0"),
m_sharc_dataram1(*this, "share_dataram1") { }
m_sharc_dataram0(*this, "sharc_dataram0"),
m_sharc_dataram1(*this, "sharc_dataram1") { }
UINT8 m_led_reg0;
UINT8 m_led_reg1;

View File

@ -91,7 +91,7 @@ public:
required_device<cpu_device> m_maincpu;
required_shared_ptr<UINT16> m_priority_ram;
required_shared_ptr<UINT16> m_vbowl_trackball;
optional_shared_ptr<UINT16> m_vbowl_trackball;
UINT8 *m_layer[8];
UINT16 m_priority;
UINT8 m_lhb2_pen_hi;

View File

@ -62,9 +62,9 @@ public:
int m_input_addr;
required_device<cpu_device> m_maincpu;
required_shared_ptr<UINT8> m_spriteram;
required_shared_ptr<UINT8> m_fg_videoram;
required_shared_ptr<UINT8> m_bg_videoram;
optional_shared_ptr<UINT8> m_spriteram;
optional_shared_ptr<UINT8> m_fg_videoram;
optional_shared_ptr<UINT8> m_bg_videoram;
int m_toggle;
int m_debug_addr;

View File

@ -82,7 +82,7 @@ public:
m_fg_color_ram(*this, "fg_color_ram"){ }
required_device<cpu_device> m_maincpu;
required_shared_ptr<UINT8> m_bg_tile_ram;
optional_shared_ptr<UINT8> m_bg_tile_ram;
required_shared_ptr<UINT8> m_fg_tile_ram;
required_shared_ptr<UINT8> m_fg_color_ram;
int m_nmi_enable;

View File

@ -814,6 +814,12 @@ READ8_MEMBER(itech8_state::sound_data_r)
}
WRITE8_MEMBER(itech8_state::grom_bank_w)
{
m_grom_bank = data;
}
/*************************************
*
@ -824,7 +830,7 @@ READ8_MEMBER(itech8_state::sound_data_r)
WRITE16_MEMBER(itech8_state::grom_bank16_w)
{
if (ACCESSING_BITS_8_15)
*m_grom_bank = data >> 8;
m_grom_bank = data >> 8;
}
@ -854,7 +860,7 @@ static ADDRESS_MAP_START( tmslo_map, AS_PROGRAM, 8, itech8_state )
AM_RANGE(0x0000, 0x0fff) AM_READWRITE(itech8_tms34061_r, itech8_tms34061_w)
AM_RANGE(0x1100, 0x1100) AM_WRITENOP
AM_RANGE(0x1120, 0x1120) AM_WRITE(sound_data_w)
AM_RANGE(0x1140, 0x1140) AM_READ_PORT("40") AM_WRITEONLY AM_SHARE("grom_bank")
AM_RANGE(0x1140, 0x1140) AM_READ_PORT("40") AM_WRITE(grom_bank_w)
AM_RANGE(0x1160, 0x1160) AM_READ_PORT("60") AM_WRITE(itech8_page_w)
AM_RANGE(0x1180, 0x1180) AM_READ_PORT("80") AM_WRITE_LEGACY(tms34061_latch_w)
AM_RANGE(0x11a0, 0x11a0) AM_WRITE(itech8_nmi_ack_w)
@ -870,7 +876,7 @@ static ADDRESS_MAP_START( tmshi_map, AS_PROGRAM, 8, itech8_state )
AM_RANGE(0x1000, 0x1fff) AM_READWRITE(itech8_tms34061_r, itech8_tms34061_w)
AM_RANGE(0x0100, 0x0100) AM_WRITENOP
AM_RANGE(0x0120, 0x0120) AM_WRITE(sound_data_w)
AM_RANGE(0x0140, 0x0140) AM_READ_PORT("40") AM_WRITEONLY AM_SHARE("grom_bank")
AM_RANGE(0x0140, 0x0140) AM_READ_PORT("40") AM_WRITE(grom_bank_w)
AM_RANGE(0x0160, 0x0160) AM_READ_PORT("60") AM_WRITE(itech8_page_w)
AM_RANGE(0x0180, 0x0180) AM_READ_PORT("80") AM_WRITE_LEGACY(tms34061_latch_w)
AM_RANGE(0x01a0, 0x01a0) AM_WRITE(itech8_nmi_ack_w)
@ -887,7 +893,7 @@ static ADDRESS_MAP_START( gtg2_map, AS_PROGRAM, 8, itech8_state )
AM_RANGE(0x0120, 0x0120) AM_READ_PORT("60") AM_WRITE(itech8_page_w)
AM_RANGE(0x0140, 0x015f) AM_WRITE(itech8_palette_w)
AM_RANGE(0x0140, 0x0140) AM_READ_PORT("80")
AM_RANGE(0x0160, 0x0160) AM_WRITEONLY AM_SHARE("grom_bank")
AM_RANGE(0x0160, 0x0160) AM_WRITE(grom_bank_w)
AM_RANGE(0x0180, 0x019f) AM_READ(itech8_blitter_r) AM_WRITE(blitter_w)
AM_RANGE(0x01c0, 0x01c0) AM_WRITE(gtg2_sound_data_w)
AM_RANGE(0x01e0, 0x01e0) AM_WRITE_LEGACY(tms34061_latch_w)
@ -903,7 +909,7 @@ static ADDRESS_MAP_START( ninclown_map, AS_PROGRAM, 16, itech8_state )
AM_RANGE(0x000080, 0x003fff) AM_RAM AM_SHARE("nvram")
AM_RANGE(0x004000, 0x07ffff) AM_ROM
AM_RANGE(0x100080, 0x100081) AM_WRITE8(sound_data_w, 0xff00)
AM_RANGE(0x100100, 0x100101) AM_READ_PORT("40") AM_WRITE(grom_bank16_w) AM_SHARE("grom_bank")
AM_RANGE(0x100100, 0x100101) AM_READ_PORT("40") AM_WRITE(grom_bank16_w)
AM_RANGE(0x100180, 0x100181) AM_READ_PORT("60") AM_WRITE(display_page16_w)
AM_RANGE(0x100240, 0x100241) AM_WRITE8_LEGACY(tms34061_latch_w, 0xff00)
AM_RANGE(0x100280, 0x100281) AM_READ_PORT("80") AM_WRITENOP

View File

@ -142,8 +142,8 @@ public:
tilemap_t *m_sc3_tilemap_2;
tilemap_t *m_sc3_tilemap_3;
required_shared_ptr<UINT16> m_sc0_vram;
required_shared_ptr<UINT16> m_sc1_vram;
required_shared_ptr<UINT16> m_sc2_vram;
optional_shared_ptr<UINT16> m_sc1_vram;
optional_shared_ptr<UINT16> m_sc2_vram;
required_shared_ptr<UINT16> m_sc3_vram;
UINT16 *m_jm_scrollram;
UINT16 *m_jm_vregs;

View File

@ -118,7 +118,7 @@ public:
required_shared_ptr<UINT8> m_colorram;
required_shared_ptr<UINT8> m_spriteram;
required_shared_ptr<UINT8> m_bitmap;
required_shared_ptr<UINT8> m_bulletram;
optional_shared_ptr<UINT8> m_bulletram;
/* video-related */
tilemap_t *m_bg_tilemap;

View File

@ -1983,7 +1983,7 @@ static ADDRESS_MAP_START( mpu4_68k_map, AS_PROGRAM, 16, mpu4_state )
AM_RANGE(0xa00000, 0xa00003) AM_READWRITE_LEGACY(ef9369_r, ef9369_w)
/* AM_RANGE(0xa00004, 0xa0000f) AM_READWRITE_LEGACY(mpu4_vid_unmap_r, mpu4_vid_unmap_w) */
AM_RANGE(0xb00000, 0xb0000f) AM_READWRITE_LEGACY(mpu4_vid_scn2674_r, mpu4_vid_scn2674_w)
AM_RANGE(0xc00000, 0xc1ffff) AM_READWRITE_LEGACY(mpu4_vid_vidram_r, mpu4_vid_vidram_w)
AM_RANGE(0xc00000, 0xc1ffff) AM_READWRITE_LEGACY(mpu4_vid_vidram_r, mpu4_vid_vidram_w) AM_SHARE("vid_vidram")
AM_RANGE(0xff8000, 0xff8001) AM_DEVREADWRITE8("acia6850_1", acia6850_device, status_read, control_write, 0xff)
AM_RANGE(0xff8002, 0xff8003) AM_DEVREADWRITE8("acia6850_1", acia6850_device, data_read, data_write, 0xff)
AM_RANGE(0xff9000, 0xff900f) AM_DEVREADWRITE8("6840ptm_68k", ptm6840_device, read, write, 0xff)
@ -1999,7 +1999,7 @@ static ADDRESS_MAP_START( mpu4oki_68k_map, AS_PROGRAM, 16, mpu4_state )
AM_RANGE(0x900002, 0x900003) AM_DEVWRITE8_LEGACY("saa", saa1099_control_w, 0x00ff)
AM_RANGE(0xa00000, 0xa00003) AM_READWRITE_LEGACY(ef9369_r, ef9369_w)
AM_RANGE(0xb00000, 0xb0000f) AM_READWRITE_LEGACY(mpu4_vid_scn2674_r, mpu4_vid_scn2674_w)
AM_RANGE(0xc00000, 0xc1ffff) AM_READWRITE_LEGACY(mpu4_vid_vidram_r, mpu4_vid_vidram_w)
AM_RANGE(0xc00000, 0xc1ffff) AM_READWRITE_LEGACY(mpu4_vid_vidram_r, mpu4_vid_vidram_w) AM_SHARE("vid_vidram")
AM_RANGE(0xff8000, 0xff8001) AM_DEVREADWRITE8("acia6850_1", acia6850_device, status_read, control_write, 0xff)
AM_RANGE(0xff8002, 0xff8003) AM_DEVREADWRITE8("acia6850_1", acia6850_device, data_read, data_write, 0xff)
AM_RANGE(0xff9000, 0xff900f) AM_DEVREADWRITE8("6840ptm_68k", ptm6840_device, read, write, 0xff)
@ -2038,7 +2038,7 @@ static ADDRESS_MAP_START( bwbvid_68k_map, AS_PROGRAM, 16, mpu4_state )
// AM_RANGE(0xa00000, 0xa0000f) AM_READWRITE_LEGACY(bt471_r,bt471_w) //Some games use this
/* AM_RANGE(0xa00004, 0xa0000f) AM_READWRITE_LEGACY(mpu4_vid_unmap_r, mpu4_vid_unmap_w) */
AM_RANGE(0xb00000, 0xb0000f) AM_READWRITE_LEGACY(mpu4_vid_scn2674_r, mpu4_vid_scn2674_w)
AM_RANGE(0xc00000, 0xc1ffff) AM_READWRITE_LEGACY(mpu4_vid_vidram_r, mpu4_vid_vidram_w)
AM_RANGE(0xc00000, 0xc1ffff) AM_READWRITE_LEGACY(mpu4_vid_vidram_r, mpu4_vid_vidram_w) AM_SHARE("vid_vidram")
AM_RANGE(0xe00000, 0xe00001) AM_DEVREADWRITE8("acia6850_1", acia6850_device, status_read, control_write, 0xff)
AM_RANGE(0xe00002, 0xe00003) AM_DEVREADWRITE8("acia6850_1", acia6850_device, data_read, data_write, 0xff)
AM_RANGE(0xe01000, 0xe0100f) AM_DEVREADWRITE8("6840ptm_68k", ptm6840_device, read, write, 0xff)
@ -2055,7 +2055,7 @@ static ADDRESS_MAP_START( bwbvid5_68k_map, AS_PROGRAM, 16, mpu4_state )
//AM_RANGE(0xa00000, 0xa00003) AM_READWRITE_LEGACY(bt471_r,bt471_w) Some games use this
/* AM_RANGE(0xa00004, 0xa0000f) AM_READWRITE_LEGACY(mpu4_vid_unmap_r, mpu4_vid_unmap_w) */
AM_RANGE(0xb00000, 0xb0000f) AM_READWRITE_LEGACY(mpu4_vid_scn2674_r, mpu4_vid_scn2674_w)
AM_RANGE(0xc00000, 0xc1ffff) AM_READWRITE_LEGACY(mpu4_vid_vidram_r, mpu4_vid_vidram_w)
AM_RANGE(0xc00000, 0xc1ffff) AM_READWRITE_LEGACY(mpu4_vid_vidram_r, mpu4_vid_vidram_w) AM_SHARE("vid_vidram")
AM_RANGE(0xe00000, 0xe00001) AM_DEVREADWRITE8("acia6850_1", acia6850_device, status_read, control_write, 0xff)
AM_RANGE(0xe00002, 0xe00003) AM_DEVREADWRITE8("acia6850_1", acia6850_device, data_read, data_write, 0xff)
AM_RANGE(0xe01000, 0xe0100f) AM_DEVREADWRITE8("6840ptm_68k", ptm6840_device, read, write, 0x00ff)

View File

@ -22,7 +22,7 @@ public:
m_spectrum_video_ram(*this, "spectruvideo_ram"){ }
required_device<cpu_device> m_maincpu;
required_shared_ptr<UINT8> m_spectrum_video_ram;
optional_shared_ptr<UINT8> m_spectrum_video_ram;
int m_spectrum_frame_number;
int m_spectrum_flash_invert;
UINT8 m_spectrum_port_fe;

View File

@ -380,7 +380,6 @@ static MACHINE_START( rng )
state->save_item(NAME(state->m_z80_control));
state->save_item(NAME(state->m_sound_status));
state->save_item(NAME(state->m_sysreg));
state->save_item(NAME(state->m_ttl_vram));
}

View File

@ -47,7 +47,7 @@ public:
: scramble_state(mconfig, type, tag),
m_soundram(*this, "soundram") { }
required_shared_ptr<UINT8> m_soundram;
optional_shared_ptr<UINT8> m_soundram;
DECLARE_READ8_MEMBER(scobra_soundram_r);
DECLARE_WRITE8_MEMBER(scobra_soundram_w);
DECLARE_CUSTOM_INPUT_MEMBER(stratgyx_coinage_r);

View File

@ -62,7 +62,7 @@ public:
required_shared_ptr<UINT8> m_cmosh_ram;
// Program and Reel Data
required_shared_ptr<UINT8> m_program_ram;
optional_shared_ptr<UINT8> m_program_ram;
required_shared_ptr<UINT8> m_reel_ram;
// IO Ports

View File

@ -83,7 +83,7 @@ public:
UINT16* m_tileram;
required_shared_ptr<UINT16> m_sprram;
required_shared_ptr<UINT16> m_chrram;
required_shared_ptr<UINT16> m_dmaram;
optional_shared_ptr<UINT16> m_dmaram;
required_shared_ptr<UINT16> m_video_regs;
UINT16 *m_sprram_old;

View File

@ -244,12 +244,12 @@ public:
required_shared_ptr<UINT8> m_colorram;
required_shared_ptr<UINT8> m_videoram;
required_shared_ptr<UINT8> m_reel3_scroll;
required_shared_ptr<UINT8> m_reel2_scroll;
required_shared_ptr<UINT8> m_reel1_scroll;
required_shared_ptr<UINT8> m_reel1_ram;
required_shared_ptr<UINT8> m_reel2_ram;
required_shared_ptr<UINT8> m_reel3_ram;
optional_shared_ptr<UINT8> m_reel3_scroll;
optional_shared_ptr<UINT8> m_reel2_scroll;
optional_shared_ptr<UINT8> m_reel1_scroll;
optional_shared_ptr<UINT8> m_reel1_ram;
optional_shared_ptr<UINT8> m_reel2_ram;
optional_shared_ptr<UINT8> m_reel3_ram;
tilemap_t *m_tmap;
tilemap_t *m_reel1_tilemap;

View File

@ -95,8 +95,8 @@ public:
int m_hm86171_offs;
UINT8 m_dsw_mask;
required_shared_ptr<UINT16> m_outputs16;
required_shared_ptr<UINT8> m_outputs;
required_shared_ptr<UINT8> m_am188em_regs;
optional_shared_ptr<UINT8> m_outputs;
optional_shared_ptr<UINT8> m_am188em_regs;
UINT16 m_bishjan_sel;
UINT16 m_bishjan_input;
DECLARE_WRITE8_MEMBER(ss9601_byte_lo_w);

View File

@ -129,7 +129,7 @@ public:
required_device<cpu_device> m_maincpu;
optional_device<microtouch_device> m_microtouch;
required_shared_ptr<UINT16> m_regs;
required_shared_ptr<UINT16> m_galgames_ram;
optional_shared_ptr<UINT16> m_galgames_ram;
int m_okibank;
UINT8 m_rtc_ram[8];

View File

@ -74,10 +74,10 @@ public:
m_has_extra_gfx = 0;
}
required_shared_ptr<UINT16> m_tiles;
required_shared_ptr<UINT16> m_wram;
required_shared_ptr<UINT32> m_tiles32;
required_shared_ptr<UINT32> m_wram32;
optional_shared_ptr<UINT16> m_tiles;
optional_shared_ptr<UINT16> m_wram;
optional_shared_ptr<UINT32> m_tiles32;
optional_shared_ptr<UINT32> m_wram32;
int m_flip_bit;
int m_flipscreen;
int m_palshift;

View File

@ -188,7 +188,7 @@ public:
UINT8 m_led_reg1;
int m_ccu_vcth;
int m_ccu_vctl;
required_shared_ptr<UINT32> m_workram;
optional_shared_ptr<UINT32> m_workram;
UINT32 *m_sharc_dataram;
DECLARE_WRITE32_MEMBER(paletteram32_w);
DECLARE_READ8_MEMBER(sysreg_r);

View File

@ -18,10 +18,10 @@ public:
required_shared_ptr<UINT8> m_bg1_scrollx;
required_shared_ptr<UINT8> m_bg1_scrolly;
required_shared_ptr<UINT8> m_paletteram;
required_shared_ptr<UINT8> m_txram;
required_shared_ptr<UINT8> m_bg1ram;
optional_shared_ptr<UINT8> m_txram;
optional_shared_ptr<UINT8> m_bg1ram;
required_shared_ptr<UINT8> m_spriteram;
required_shared_ptr<UINT8> m_butasan_bg1ram;
optional_shared_ptr<UINT8> m_butasan_bg1ram;
UINT8 *m_dummy_bg0ram;
UINT8 *m_butasan_txram;

View File

@ -14,8 +14,8 @@ public:
m_ram1(*this, "ram1"),
m_ram2(*this, "ram2"){ }
required_shared_ptr<UINT8> m_ram1;
required_shared_ptr<UINT8> m_ram2;
optional_shared_ptr<UINT8> m_ram1;
optional_shared_ptr<UINT8> m_ram2;
DECLARE_WRITE8_MEMBER(astdelux_coin_counter_w);
DECLARE_WRITE8_MEMBER(llander_led_w);
DECLARE_READ8_MEMBER(asteroid_IN0_r);

View File

@ -29,7 +29,7 @@ public:
char *m_totalword_ptr;
char m_oldword[256];
int m_plural;
required_shared_ptr<UINT8> m_protected_ram;
optional_shared_ptr<UINT8> m_protected_ram;
UINT8 m_port_1_last;
UINT8 m_port_2_last;
UINT8 m_ram_write_enable;

View File

@ -10,12 +10,13 @@ class atarig1_state : public atarigen_state
{
public:
atarig1_state(const machine_config &mconfig, device_type type, const char *tag)
: atarigen_state(mconfig, type, tag) { }
: atarigen_state(mconfig, type, tag),
m_mo_command(*this, "mo_command") { }
UINT8 m_is_pitfight;
UINT8 m_which_input;
UINT16 * m_mo_command;
required_shared_ptr<UINT16> m_mo_command;
UINT16 * m_bslapstic_base;
void * m_bslapstic_bank0;

View File

@ -10,7 +10,8 @@ class atarig42_state : public atarigen_state
{
public:
atarig42_state(const machine_config &mconfig, device_type type, const char *tag)
: atarigen_state(mconfig, type, tag) { }
: atarigen_state(mconfig, type, tag),
m_mo_command(*this, "mo_command") { }
UINT16 m_playfield_base;
@ -21,7 +22,7 @@ public:
UINT16 m_playfield_yscroll;
UINT8 m_analog_data;
UINT16 * m_mo_command;
required_shared_ptr<UINT16> m_mo_command;
int m_sloop_bank;
int m_sloop_next_bank;

View File

@ -10,12 +10,14 @@ class atarigx2_state : public atarigen_state
{
public:
atarigx2_state(const machine_config &mconfig, device_type type, const char *tag)
: atarigen_state(mconfig, type, tag) { }
: atarigen_state(mconfig, type, tag),
m_mo_command(*this, "mo_command"),
m_protection_base(*this, "protection_base") { }
UINT16 m_playfield_base;
UINT32 * m_mo_command;
UINT32 * m_protection_base;
required_shared_ptr<UINT32> m_mo_command;
required_shared_ptr<UINT32> m_protection_base;
UINT16 m_current_control;
UINT8 m_playfield_tile_bank;

View File

@ -11,12 +11,13 @@ class atarisy1_state : public atarigen_state
public:
atarisy1_state(const machine_config &mconfig, device_type type, const char *tag)
: atarigen_state(mconfig, type, tag),
m_bankselect(*this, "bankselect"),
m_joystick_timer(*this, "joystick_timer"),
m_yscroll_reset_timer(*this, "yreset_timer"),
m_scanline_timer(*this, "scan_timer"),
m_int3off_timer(*this, "int3off_timer") { }
UINT16 * m_bankselect;
required_shared_ptr<UINT16> m_bankselect;
UINT8 m_joystick_type;
UINT8 m_trackball_type;

View File

@ -127,8 +127,8 @@ public:
required_shared_ptr<UINT8> m_spriteram;
required_shared_ptr<UINT8> m_videoram;
required_shared_ptr<UINT16> m_shrike_io;
required_shared_ptr<UINT16> m_shrike_shared;
optional_shared_ptr<UINT16> m_shrike_io;
optional_shared_ptr<UINT16> m_shrike_shared;
DECLARE_WRITE8_MEMBER(balsente_random_reset_w);
DECLARE_READ8_MEMBER(balsente_random_num_r);

View File

@ -14,7 +14,13 @@ public:
beathead_state(const machine_config &mconfig, device_type type, const char *tag)
: atarigen_state(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_nvram(*this, "nvram") { }
m_nvram(*this, "nvram"),
m_videoram(*this, "videoram"),
m_paletteram(*this, "paletteram"),
m_vram_bulk_latch(*this, "vram_bulk_latch"),
m_palette_select(*this, "palette_select"),
m_ram_base(*this, "ram_base"),
m_rom_base(*this, "rom_base") { }
virtual void machine_start();
virtual void machine_reset();
@ -27,11 +33,11 @@ public:
required_shared_ptr<UINT32> m_nvram;
UINT32 * m_videoram;
UINT32 * m_paletteram;
required_shared_ptr<UINT32> m_videoram;
required_shared_ptr<UINT32> m_paletteram;
UINT32 * m_vram_bulk_latch;
UINT32 * m_palette_select;
required_shared_ptr<UINT32> m_vram_bulk_latch;
required_shared_ptr<UINT32> m_palette_select;
UINT32 m_finescroll;
offs_t m_vram_latch_offset;
@ -40,8 +46,8 @@ public:
offs_t m_hsyncram_start;
UINT8 m_hsyncram[0x800];
UINT32 * m_ram_base;
UINT32 * m_rom_base;
required_shared_ptr<UINT32> m_ram_base;
required_shared_ptr<UINT32> m_rom_base;
attotime m_hblank_offset;

View File

@ -10,9 +10,10 @@ class blstroid_state : public atarigen_state
{
public:
blstroid_state(const machine_config &mconfig, device_type type, const char *tag)
: atarigen_state(mconfig, type, tag) { }
: atarigen_state(mconfig, type, tag),
m_priorityram(*this, "priorityram") { }
UINT16 * m_priorityram;
required_shared_ptr<UINT16> m_priorityram;
DECLARE_WRITE16_MEMBER(blstroid_halt_until_hblank_0_w);
DECLARE_READ16_MEMBER(inputs_r);
};

View File

@ -15,7 +15,7 @@ public:
m_audio_rambase(*this, "audio_rambase"){ }
/* memory pointers */
required_shared_ptr<UINT8> m_rambase;
optional_shared_ptr<UINT8> m_rambase;
required_shared_ptr<UINT8> m_videoram;
required_shared_ptr<UINT8> m_colorram;
// UINT8 * m_paletteram; // currently this uses generic palette handling
@ -25,7 +25,7 @@ public:
optional_shared_ptr<UINT8> m_deco_charram;
optional_shared_ptr<UINT8> m_spriteram; // used by disco
// UINT8 * m_decrypted;
required_shared_ptr<UINT8> m_audio_rambase;
optional_shared_ptr<UINT8> m_audio_rambase;
/* video-related */
bitmap_ind16 *m_background_bitmap;

View File

@ -11,7 +11,7 @@ public:
/* memory pointers */
required_shared_ptr<UINT8> m_videoram;
required_shared_ptr<UINT8> m_objectram;
required_shared_ptr<UINT8> m_mcu_sharedram;
optional_shared_ptr<UINT8> m_mcu_sharedram;
// UINT8 * paletteram; // currently this uses generic palette handling
/* video-related */

View File

@ -40,7 +40,7 @@ public:
optional_shared_ptr_array<UINT16, 4> m_vram;
optional_shared_ptr_array<UINT16, 4> m_vctrl;
required_shared_ptr<UINT16> m_spriteram;
required_shared_ptr<UINT16> m_spriteram_2;
optional_shared_ptr<UINT16> m_spriteram_2;
required_shared_ptr<UINT16> m_paletteram;
/* video-related */
@ -104,7 +104,7 @@ public:
/* game specific */
// sailormn
int m_sailormn_tilebank;
required_shared_ptr<UINT8> m_mirror_ram;
optional_shared_ptr<UINT8> m_mirror_ram;
// korokoro
UINT16 m_leds[2];
int m_hopper;

View File

@ -23,11 +23,11 @@ public:
required_shared_ptr<UINT8> m_bigsprite_control;
required_shared_ptr<UINT8> m_colorram;
required_shared_ptr<UINT8> m_flip_screen;
required_shared_ptr<UINT8> m_swimmer_side_background_enabled;
required_shared_ptr<UINT8> m_swimmer_palettebank;
required_shared_ptr<UINT8> m_swimmer_background_color;
required_shared_ptr<UINT8> m_toprollr_bg_videoram;
required_shared_ptr<UINT8> m_toprollr_bg_coloram;
optional_shared_ptr<UINT8> m_swimmer_side_background_enabled;
optional_shared_ptr<UINT8> m_swimmer_palettebank;
optional_shared_ptr<UINT8> m_swimmer_background_color;
optional_shared_ptr<UINT8> m_toprollr_bg_videoram;
optional_shared_ptr<UINT8> m_toprollr_bg_coloram;
UINT8 m_yamato_p0;
UINT8 m_yamato_p1;

View File

@ -17,7 +17,7 @@ public:
required_shared_ptr<UINT8> m_rambase;
required_shared_ptr<UINT8> m_videoram;
required_shared_ptr<UINT8> m_spriteram;
required_shared_ptr<UINT8> m_bullsdrt_tiles_bankram;
optional_shared_ptr<UINT8> m_bullsdrt_tiles_bankram;
UINT8 m_oldpos[4];
UINT8 m_sign[4];
UINT8 m_dsw_select;

View File

@ -25,7 +25,7 @@ public:
UINT8 m_last_portb_write;
float m_target_volume;
float m_current_volume;
required_shared_ptr<UINT16> m_rambase;
optional_shared_ptr<UINT16> m_rambase;
UINT8 m_coin_detected;
UINT8 m_coin_last_reset;
UINT8 m_mux_select;

View File

@ -15,7 +15,7 @@ public:
required_shared_ptr_array<UINT16,3> m_scrollram;
required_shared_ptr<UINT16> m_ram;
required_shared_ptr_array<UINT16,2> m_roadram;
required_shared_ptr<UINT16> m_f1gpstr2_ioready;
optional_shared_ptr<UINT16> m_f1gpstr2_ioready;
UINT16 *m_objectram;
tilemap_t *m_tmap[3];

View File

@ -30,9 +30,9 @@ public:
required_shared_ptr<UINT8> m_video_ram;
required_shared_ptr<UINT8> m_bullet_ram;
required_shared_ptr<UINT8> m_fo_state;
required_shared_ptr<UINT8> m_cvs_4_bit_dac_data;
required_shared_ptr<UINT8> m_tms5110_ctl_data;
required_shared_ptr<UINT8> m_dac3_state;
optional_shared_ptr<UINT8> m_cvs_4_bit_dac_data;
optional_shared_ptr<UINT8> m_tms5110_ctl_data;
optional_shared_ptr<UINT8> m_dac3_state;
/* video-related */
struct cvs_star m_stars[CVS_MAX_STARS];

View File

@ -10,10 +10,12 @@ class cyberbal_state : public atarigen_state
{
public:
cyberbal_state(const machine_config &mconfig, device_type type, const char *tag)
: atarigen_state(mconfig, type, tag) { }
: atarigen_state(mconfig, type, tag),
m_paletteram_0(*this, "paletteram_0"),
m_paletteram_1(*this, "paletteram_1") { }
UINT16 * m_paletteram_0;
UINT16 * m_paletteram_1;
optional_shared_ptr<UINT16> m_paletteram_0;
optional_shared_ptr<UINT16> m_paletteram_1;
UINT16 m_current_slip[2];
UINT8 m_playfield_palette_bank[2];
UINT16 m_playfield_xscroll[2];

View File

@ -19,13 +19,13 @@ public:
m_darktowr_mcu_ports(*this, "darktowr_mcu"){ }
/* memory pointers */
required_shared_ptr<UINT8> m_rambase;
optional_shared_ptr<UINT8> m_rambase;
required_shared_ptr<UINT8> m_bgvideoram;
required_shared_ptr<UINT8> m_fgvideoram;
required_shared_ptr<UINT8> m_spriteram;
required_shared_ptr<UINT8> m_scrollx_lo;
required_shared_ptr<UINT8> m_scrolly_lo;
required_shared_ptr<UINT8> m_darktowr_mcu_ports;
optional_shared_ptr<UINT8> m_darktowr_mcu_ports;
// UINT8 * m_paletteram; // currently this uses generic palette handling
// UINT8 * m_paletteram_2; // currently this uses generic palette handling
size_t m_spriteram_size; // FIXME: this appears in chinagat.c, but is it really used?

View File

@ -11,7 +11,7 @@ public:
int m_automat_msm5205_vclk_toggle;
required_shared_ptr<UINT16> m_ram;
required_shared_ptr<UINT16> m_spriteram;
required_shared_ptr<UINT8> m_robocop_shared_ram;
optional_shared_ptr<UINT8> m_robocop_shared_ram;
int m_GAME;
int m_i8751_return;

View File

@ -18,7 +18,7 @@ public:
/* memory pointers */
required_shared_ptr<UINT8> m_videoram;
required_shared_ptr<UINT8> m_bg_data;
optional_shared_ptr<UINT8> m_bg_data;
UINT8 * m_pf1_data;
UINT8 * m_row;
// UINT8 * m_paletteram; // currently this uses generic palette handling

View File

@ -26,7 +26,7 @@ public:
required_shared_ptr<UINT32> m_pf3_rowscroll32;
required_shared_ptr<UINT32> m_pf4_rowscroll32;
required_shared_ptr<UINT32> m_ace_ram;
optional_shared_ptr<UINT32> m_ace_ram;
int m_raster_enable;
timer_device *m_raster_irq_timer;

View File

@ -13,7 +13,7 @@ public:
optional_device<buffered_spriteram8_device> m_spriteram;
optional_device<buffered_spriteram16_device> m_spriteram16;
required_shared_ptr<UINT8> m_txvideoram;
required_shared_ptr<UINT8> m_paletteram_flytiger;
optional_shared_ptr<UINT8> m_paletteram_flytiger;
UINT8 m_sprites_disabled;
UINT8 m_flytiger_palette_bank;
UINT8 m_flytiger_pri;

View File

@ -19,8 +19,8 @@ public:
required_shared_ptr<UINT16> m_bg_videoram;
UINT8 * m_fg_videoram; // 8bits
required_shared_ptr<UINT16> m_spriteram;
required_shared_ptr<UINT16> m_workram;
required_shared_ptr<UINT16> m_spriteram_2;
optional_shared_ptr<UINT16> m_workram;
optional_shared_ptr<UINT16> m_spriteram_2;
required_shared_ptr<UINT8> m_mcu_ram; // 8bits
// UINT16 * m_nvram; // currently this uses generic nvram handling

View File

@ -19,17 +19,17 @@ public:
/* memory pointers */
required_shared_ptr<UINT16> m_sharedram;
required_shared_ptr<UINT16> m_spr1vram;
required_shared_ptr<UINT16> m_spr2vram;
required_shared_ptr<UINT16> m_spr1cgram;
required_shared_ptr<UINT16> m_spr2cgram;
optional_shared_ptr<UINT16> m_spr1vram;
optional_shared_ptr<UINT16> m_spr2vram;
optional_shared_ptr<UINT16> m_spr1cgram;
optional_shared_ptr<UINT16> m_spr2cgram;
required_shared_ptr<UINT16> m_fgvideoram;
required_shared_ptr<UINT16> m_rozvideoram;
required_shared_ptr<UINT16> m_sprcgram;
required_shared_ptr<UINT16> m_spritelist;
required_shared_ptr<UINT16> m_spriteram;
required_shared_ptr<UINT16> m_fgregs;
required_shared_ptr<UINT16> m_rozregs;
optional_shared_ptr<UINT16> m_sprcgram;
optional_shared_ptr<UINT16> m_spritelist;
optional_shared_ptr<UINT16> m_spriteram;
optional_shared_ptr<UINT16> m_fgregs;
optional_shared_ptr<UINT16> m_rozregs;
UINT16 * m_zoomdata;
// UINT16 * m_paletteram; // currently this uses generic palette handling

View File

@ -5,8 +5,8 @@ class fantland_state : public driver_device
public:
fantland_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag) ,
m_spriteram(*this, "spriteram"),
m_spriteram2(*this, "spriteram2"){ }
m_spriteram(*this, "spriteram", 16),
m_spriteram2(*this, "spriteram2", 16){ }
/* memory pointers */
// UINT8 * m_spriteram; // currently directly used in a 16bit map...

View File

@ -55,10 +55,10 @@ public:
required_shared_ptr<UINT8> m_scroll_y;
required_shared_ptr<UINT8> m_scroll_x;
required_shared_ptr<UINT8> m_car_rot;
required_shared_ptr<UINT8> m_blink;
required_shared_ptr<UINT8> m_drone_x;
required_shared_ptr<UINT8> m_drone_y;
required_shared_ptr<UINT8> m_drone_rot;
optional_shared_ptr<UINT8> m_blink;
optional_shared_ptr<UINT8> m_drone_x;
optional_shared_ptr<UINT8> m_drone_y;
optional_shared_ptr<UINT8> m_drone_rot;
UINT8 m_flash;
UINT8 m_crash[2];
UINT8 m_skid[2];

View File

@ -12,7 +12,8 @@ class foodf_state : public atarigen_state
public:
foodf_state(const machine_config &mconfig, device_type type, const char *tag)
: atarigen_state(mconfig, type, tag),
m_nvram(*this, "nvram") { }
m_nvram(*this, "nvram"),
m_spriteram(*this, "spriteram") { }
required_device<x2212_device> m_nvram;
@ -22,7 +23,7 @@ public:
UINT8 m_playfield_flip;
UINT8 m_whichport;
UINT16 *m_spriteram;
required_shared_ptr<UINT16> m_spriteram;
DECLARE_WRITE16_MEMBER(nvram_recall_w);
DECLARE_WRITE8_MEMBER(digital_w);
DECLARE_READ16_MEMBER(analog_r);

View File

@ -18,7 +18,7 @@ public:
required_shared_ptr<UINT16> m_videoram;
required_shared_ptr<UINT16> m_vregs;
required_shared_ptr<UINT16> m_spriteram;
required_shared_ptr<UINT16> m_screen;
optional_shared_ptr<UINT16> m_screen;
// UINT16 * paletteram; // currently this uses generic palette handling
/* video-related */

View File

@ -53,8 +53,8 @@ public:
gaelco3d_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag),
m_adsp_ram_base(*this,"adsp_ram_base"),
m_m68k_ram_base(*this,"m68k_ram_base"),
m_tms_comm_base(*this,"tms_comm_base"),
m_m68k_ram_base(*this,"m68k_ram_base",0),
m_tms_comm_base(*this,"tms_comm_base",0),
m_adsp_control_regs(*this,"adsp_regs"),
m_adsp_fastram_base(*this,"adsp_fastram") { }

View File

@ -13,11 +13,11 @@ public:
{ }
/* memory pointers */
required_shared_ptr<UINT8> m_videoram;
required_shared_ptr<UINT8> m_galaga_ram1;
required_shared_ptr<UINT8> m_galaga_ram2;
required_shared_ptr<UINT8> m_galaga_ram3;
required_shared_ptr<UINT8> m_galaga_starcontrol; // 6 addresses
optional_shared_ptr<UINT8> m_videoram;
optional_shared_ptr<UINT8> m_galaga_ram1;
optional_shared_ptr<UINT8> m_galaga_ram2;
optional_shared_ptr<UINT8> m_galaga_ram3;
optional_shared_ptr<UINT8> m_galaga_starcontrol; // 6 addresses
emu_timer *m_cpu3_interrupt_timer;
UINT8 m_custom_mod;

View File

@ -37,7 +37,7 @@ public:
required_shared_ptr<UINT8> m_spriteram;
optional_shared_ptr<UINT8> m_spriteram2;
required_shared_ptr<UINT8> m_attributesram;
required_shared_ptr<UINT8> m_bulletsram;
optional_shared_ptr<UINT8> m_bulletsram;
optional_shared_ptr<UINT8> m_rockclim_videoram;
optional_shared_ptr<UINT8> m_racknrol_tiles_bank;

View File

@ -30,9 +30,9 @@ public:
required_shared_ptr<UINT8> m_reel3_scroll;
/* reelx_attrram for unkch sets */
required_shared_ptr<UINT8> m_reel1_attrram;
required_shared_ptr<UINT8> m_reel2_attrram;
required_shared_ptr<UINT8> m_reel3_attrram;
optional_shared_ptr<UINT8> m_reel1_attrram;
optional_shared_ptr<UINT8> m_reel2_attrram;
optional_shared_ptr<UINT8> m_reel3_attrram;
UINT8 m_unkch_vidreg;
tilemap_t *m_reel1_tilemap;

View File

@ -26,6 +26,15 @@ public:
m_dsp32(*this, "dsp32"),
m_ds4cpu1(*this, "ds4cpu1"),
m_ds4cpu2(*this, "ds4cpu2"),
m_msp_ram(*this, "msp_ram"),
m_adsp_data_memory(*this, "adsp_data"),
m_adsp_pgm_memory(*this, "adsp_pgm_memory"),
m_sounddsp_ram(*this, "sounddsp_ram"),
m_gsp_vram(*this, "gsp_vram", 16),
m_gsp_control_lo(*this, "gsp_control_lo"),
m_gsp_control_hi(*this, "gsp_control_hi"),
m_gsp_paletteram_lo(*this, "gsp_palram_lo"),
m_gsp_paletteram_hi(*this, "gsp_palram_hi"),
m_duart_timer(*this, "duart_timer") { }
required_device<cpu_device> m_maincpu;
@ -42,15 +51,15 @@ public:
UINT8 m_hd34010_host_access;
UINT8 m_dsk_pio_access;
UINT16 * m_msp_ram;
optional_shared_ptr<UINT16> m_msp_ram;
UINT16 * m_dsk_ram;
UINT16 * m_dsk_rom;
UINT16 * m_dsk_zram;
UINT16 * m_m68k_slapstic_base;
UINT16 * m_m68k_sloop_alt_base;
UINT16 * m_adsp_data_memory;
UINT32 * m_adsp_pgm_memory;
optional_shared_ptr<UINT16> m_adsp_data_memory;
optional_shared_ptr<UINT32> m_adsp_pgm_memory;
UINT16 * m_gsp_protection;
@ -70,15 +79,14 @@ public:
UINT32 m_msp_speedup_count[4];
UINT32 m_adsp_speedup_count[4];
UINT16 * m_sounddsp_ram;
optional_shared_ptr<UINT16> m_sounddsp_ram;
UINT8 m_gsp_multisync;
UINT8 * m_gsp_vram;
UINT16 * m_gsp_control_lo;
UINT16 * m_gsp_control_hi;
UINT16 * m_gsp_paletteram_lo;
UINT16 * m_gsp_paletteram_hi;
size_t m_gsp_vram_size;
optional_shared_ptr<UINT8> m_gsp_vram;
optional_shared_ptr<UINT16> m_gsp_control_lo;
optional_shared_ptr<UINT16> m_gsp_control_hi;
optional_shared_ptr<UINT16> m_gsp_paletteram_lo;
optional_shared_ptr<UINT16> m_gsp_paletteram_hi;
/* machine state */
UINT8 m_irq_state;

View File

@ -8,7 +8,7 @@ public:
m_videoram(*this, "videoram"){ }
/* memory pointers */
required_shared_ptr<UINT8> m_vreg;
optional_shared_ptr<UINT8> m_vreg;
required_shared_ptr<UINT8> m_videoram;
/* video-related */

View File

@ -29,13 +29,13 @@ public:
m_tms2_ram(*this, "tms2_ram"){ }
optional_shared_ptr<UINT16> m_main_ram;
required_shared_ptr<UINT16> m_nvram;
required_shared_ptr<UINT16> m_video;
required_shared_ptr<UINT16> m_main_rom;
required_shared_ptr<UINT32> m_drivedge_zbuf_control;
required_shared_ptr<UINT32> m_tms1_boot;
required_shared_ptr<UINT32> m_tms1_ram;
required_shared_ptr<UINT32> m_tms2_ram;
optional_shared_ptr<UINT16> m_nvram;
optional_shared_ptr<UINT16> m_video;
optional_shared_ptr<UINT16> m_main_rom;
optional_shared_ptr<UINT32> m_drivedge_zbuf_control;
optional_shared_ptr<UINT32> m_tms1_boot;
optional_shared_ptr<UINT32> m_tms1_ram;
optional_shared_ptr<UINT32> m_tms2_ram;
void nvram_init(nvram_device &nvram, void *base, size_t length);

View File

@ -14,11 +14,10 @@ class itech8_state : public driver_device
public:
itech8_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag),
m_visarea(0, 0, 0, 0) ,
m_grom_bank(*this, "grom_bank"){ }
m_visarea(0, 0, 0, 0){ }
rectangle m_visarea;
required_shared_ptr<UINT8> m_grom_bank;
UINT8 m_grom_bank;
UINT8 m_blitter_int;
UINT8 m_tms34061_int;
@ -62,6 +61,7 @@ public:
DECLARE_WRITE8_MEMBER(sound_data_w);
DECLARE_WRITE8_MEMBER(gtg2_sound_data_w);
DECLARE_READ8_MEMBER(sound_data_r);
DECLARE_WRITE8_MEMBER(grom_bank_w);
DECLARE_WRITE16_MEMBER(grom_bank16_w);
DECLARE_WRITE16_MEMBER(display_page16_w);
DECLARE_WRITE16_MEMBER(palette16_w);

View File

@ -71,7 +71,7 @@ public:
int m_slidesout;
int m_hopper[3];
int m_motor[3];
required_shared_ptr<UINT16> m_vram;
optional_shared_ptr<UINT16> m_vram;
struct bt477_t m_bt477;
DECLARE_WRITE16_MEMBER(m68k_tms_w);
DECLARE_READ16_MEMBER(m68k_tms_r);

View File

@ -90,13 +90,13 @@ public:
required_device<cpu_device> m_maincpu;
optional_shared_ptr<UINT16> m_spriteram;
required_shared_ptr<UINT16> m_bg15_reg;
required_shared_ptr<UINT16> m_bg15_select;
optional_shared_ptr<UINT16> m_bg15_reg;
optional_shared_ptr<UINT16> m_bg15_select;
required_shared_ptr<UINT16> m_sprites_regs;
required_shared_ptr_array<UINT16,4> m_vram;
required_shared_ptr_array<UINT16,4> m_vscroll;
optional_shared_ptr_array<UINT16,4> m_vram;
optional_shared_ptr_array<UINT16,4> m_vscroll;
required_shared_ptr<UINT16> m_layers_0_regs;
required_shared_ptr<UINT16> m_layers_1_regs;
optional_shared_ptr<UINT16> m_layers_1_regs;
required_shared_ptr<UINT16> m_mcu_ram;
required_shared_ptr<UINT16> m_mainram;

View File

@ -18,9 +18,9 @@ public:
/* memory pointers */
required_shared_ptr<UINT8> m_videoram;
required_shared_ptr<UINT8> m_colorram;
optional_shared_ptr<UINT8> m_colorram;
required_shared_ptr<UINT8> m_spriteram;
required_shared_ptr<UINT8> m_grid_data;
optional_shared_ptr<UINT8> m_grid_data;
/* video-related */
tilemap_t *m_bg_tilemap;

View File

@ -23,10 +23,10 @@ public:
required_shared_ptr<UINT8> m_colorram;
required_shared_ptr<UINT8> m_spriteram;
required_shared_ptr<UINT8> m_back_color;
required_shared_ptr<UINT8> m_chip_data;
required_shared_ptr<UINT8> m_bitmap_ram; /* 0x2000 bytes for a 256 x 256 x 1 bitmap */
required_shared_ptr<UINT8> m_last_colors;
required_shared_ptr<UINT8> m_track_scroll;
optional_shared_ptr<UINT8> m_chip_data;
optional_shared_ptr<UINT8> m_bitmap_ram; /* 0x2000 bytes for a 256 x 256 x 1 bitmap */
optional_shared_ptr<UINT8> m_last_colors;
optional_shared_ptr<UINT8> m_track_scroll;
/* video-related */
tilemap_t *m_bg_tilemap;

View File

@ -11,11 +11,11 @@ public:
m_scratchram(*this, "scratchram"){ }
required_shared_ptr<UINT8> m_paletteram;
required_shared_ptr<UINT8> m_bg_vram; /* prosport */
optional_shared_ptr<UINT8> m_bg_vram; /* prosport */
required_shared_ptr<UINT8> m_colorram;
required_shared_ptr<UINT8> m_videoram;
required_shared_ptr<UINT8> m_spriteram;
required_shared_ptr<UINT8> m_scratchram;
optional_shared_ptr<UINT8> m_scratchram;
UINT8 *m_charram; /* prosoccr */
UINT8 m_io_ram[16];

View File

@ -12,8 +12,8 @@ public:
required_shared_ptr<UINT8> m_spriteram;
required_shared_ptr<UINT8> m_m62_tileram;
required_shared_ptr<UINT8> m_m62_textram;
required_shared_ptr<UINT8> m_scrollram;
optional_shared_ptr<UINT8> m_m62_textram;
optional_shared_ptr<UINT8> m_scrollram;
/* video-related */
tilemap_t* m_bg_tilemap;

View File

@ -2,11 +2,9 @@ class mcr3_state : public mcr_state
{
public:
mcr3_state(const machine_config &mconfig, device_type type, const char *tag)
: mcr_state(mconfig, type, tag) { }
: mcr_state(mconfig, type, tag),
m_spyhunt_alpharam(*this, "spyhunt_alpha") { }
UINT8 *m_videoram;
UINT8 *m_spriteram;
size_t m_spriteram_size;
UINT8 m_input_mux;
UINT8 m_latched_input;
UINT8 m_last_op4;
@ -17,7 +15,7 @@ public:
INT8 m_maxrpm_p2_shift;
UINT8 m_spyhunt_sprite_color_mask;
INT16 m_spyhunt_scroll_offset;
UINT8 *m_spyhunt_alpharam;
optional_shared_ptr<UINT8> m_spyhunt_alpharam;
INT16 m_spyhunt_scrollx;
INT16 m_spyhunt_scrolly;
tilemap_t *m_bg_tilemap;

View File

@ -113,14 +113,15 @@ class segac2_state : public md_base_state
{
public:
segac2_state(const machine_config &mconfig, device_type type, const char *tag)
: md_base_state(mconfig, type, tag) { }
: md_base_state(mconfig, type, tag),
m_paletteram(*this, "paletteram") { }
// for Print Club only
int m_cam_data;
int m_segac2_enable_display;
UINT16* m_paletteram;
required_shared_ptr<UINT16> m_paletteram;
/* internal states */
UINT8 m_misc_io_data[0x10]; /* holds values written to the I/O chip */

View File

@ -46,17 +46,17 @@ public:
optional_shared_ptr<UINT16> m_vram_1;
optional_shared_ptr<UINT16> m_vram_2;
required_shared_ptr<UINT16> m_spriteram;
required_shared_ptr<UINT16> m_tiletable;
optional_shared_ptr<UINT16> m_tiletable;
UINT16 * m_tiletable_old;
required_shared_ptr<UINT16> m_blitter_regs;
required_shared_ptr<UINT16> m_scroll;
required_shared_ptr<UINT16> m_window;
required_shared_ptr<UINT16> m_irq_enable;
optional_shared_ptr<UINT16> m_blitter_regs;
optional_shared_ptr<UINT16> m_scroll;
optional_shared_ptr<UINT16> m_window;
optional_shared_ptr<UINT16> m_irq_enable;
optional_shared_ptr<UINT16> m_irq_levels;
optional_shared_ptr<UINT16> m_irq_vectors;
required_shared_ptr<UINT16> m_rombank;
optional_shared_ptr<UINT16> m_rombank;
required_shared_ptr<UINT16> m_videoregs;
required_shared_ptr<UINT16> m_screenctrl;
optional_shared_ptr<UINT16> m_screenctrl;
optional_shared_ptr<UINT16> m_input_sel;
optional_shared_ptr<UINT16> m_k053936_ram;

View File

@ -40,12 +40,12 @@ public:
midvunit_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag),
m_nvram(*this, "nvram"),
m_ram_base(*this, "m_ram_base"),
m_fastram_base(*this, "m_fastram_base"),
m_tms32031_control(*this, "m_tms32031_control"),
m_midvplus_misc(*this, "m_midvplus_misc"),
m_videoram(*this, "m_videoram"),
m_textureram(*this, "m_textureram") { }
m_ram_base(*this, "ram_base"),
m_fastram_base(*this, "fastram_base"),
m_tms32031_control(*this, "tms32031_control"),
m_midvplus_misc(*this, "midvplus_misc"),
m_videoram(*this, "videoram"),
m_textureram(*this, "textureram") { }
optional_shared_ptr<UINT32> m_nvram;
required_shared_ptr<UINT32> m_ram_base;

View File

@ -9,10 +9,11 @@ class midxunit_state : public midtunit_state
public:
midxunit_state(const machine_config &mconfig, device_type type, const char *tag)
: midtunit_state(mconfig, type, tag),
m_nvram(*this, "nvram") { }
m_nvram(*this, "nvram"),
m_decode_memory(*this, "decode_memory", 16) { }
required_shared_ptr<UINT16> m_nvram;
UINT8 *m_decode_memory;
required_shared_ptr<UINT8> m_decode_memory;
UINT8 m_cmos_write_enable;
UINT16 m_iodata[8];
UINT8 m_ioshuffle[16];

View File

@ -32,11 +32,11 @@ class midyunit_state : public driver_device
public:
midyunit_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag),
m_gfx_rom(*this,"gfx_rom") { }
m_gfx_rom(*this, "gfx_rom", 16) { }
UINT16 *m_cmos_ram;
UINT32 m_cmos_page;
required_shared_ptr<UINT8> m_gfx_rom;
optional_shared_ptr<UINT8> m_gfx_rom;
UINT16 m_prot_result;
UINT16 m_prot_sequence[3];
UINT8 m_prot_index;

View File

@ -30,7 +30,7 @@ public:
required_shared_ptr<UINT32> m_textureram1;
required_shared_ptr<UINT32> m_lumaram;
required_shared_ptr<UINT16> m_soundram;
required_shared_ptr<UINT32> m_tgp_program;
optional_shared_ptr<UINT32> m_tgp_program;
UINT32 m_intreq;
UINT32 m_intena;

View File

@ -176,8 +176,8 @@ public:
UINT8 m_m6809_acia_rts;
UINT8 m_m6809_acia_dcd;
int m_gfx_index;
required_shared_ptr<UINT16> m_vid_vidram;
required_shared_ptr<UINT16> m_vid_mainram;
optional_shared_ptr<UINT16> m_vid_vidram;
optional_shared_ptr<UINT16> m_vid_mainram;
// UINT8 m_scn2674_IR[16];
UINT8 m_scn2674_IR_pointer;
UINT8 m_scn2674_screen1_l;

View File

@ -3,10 +3,12 @@ class mystwarr_state : public konamigx_state
public:
mystwarr_state(const machine_config &mconfig, device_type type, const char *tag)
: konamigx_state(mconfig, type, tag),
m_gx_workram(*this,"gx_workram"),
m_spriteram(*this,"spriteram"),
m_maincpu(*this,"maincpu")
{ }
UINT16 *m_gx_workram;
required_shared_ptr<UINT16> m_gx_workram;
UINT8 m_mw_irq_control;
int m_cur_sound_region;
int m_layer_colorbase[6];
@ -20,7 +22,7 @@ public:
int m_roz_rombank;
tilemap_t *m_ult_936_tilemap;
UINT16 m_clip;
UINT16 *m_spriteram;
required_shared_ptr<UINT16> m_spriteram;
required_device<cpu_device> m_maincpu;
DECLARE_READ16_MEMBER(eeprom_r);

View File

@ -29,7 +29,7 @@ public:
required_device<cpu_device> m_mcu;
required_shared_ptr<UINT32> m_nvmem32;
required_shared_ptr<UINT32> m_spritebank32;
required_shared_ptr<UINT32> m_tilebank32;
optional_shared_ptr<UINT32> m_tilebank32;
required_shared_ptr<UINT16> m_namconb_shareram;
UINT8 m_namconb_cpureg[32];

View File

@ -39,10 +39,10 @@ public:
optional_shared_ptr<UINT16> m_winrun_dspbios;
optional_shared_ptr<UINT16> m_winrun_polydata;
optional_shared_ptr<UINT16> m_winrun_gpucomram;
required_shared_ptr<UINT16> m_dspram16;
optional_shared_ptr<UINT16> m_dspram16;
required_shared_ptr<UINT16> m_mpSharedRAM1;
required_shared_ptr<UINT8> m_mpDualPortRAM;
required_shared_ptr<UINT16> m_master_dsp_code;
optional_shared_ptr<UINT16> m_master_dsp_code;
UINT8 *m_videoram;
UINT16 *m_winrun_dspcomram;

View File

@ -49,7 +49,7 @@ public:
m_tilemapattr(*this,"tilemapattr"),
m_czram(*this,"czram") { }
required_shared_ptr<UINT32> m_spriteram;
optional_shared_ptr<UINT32> m_spriteram;
required_shared_ptr<UINT32> m_shareram;
required_shared_ptr<UINT32> m_system_controller;
required_shared_ptr<UINT32> m_nvmem;
@ -59,9 +59,9 @@ public:
required_shared_ptr<UINT32> m_textram;
required_shared_ptr<UINT32> m_polygonram;
required_shared_ptr<UINT32> m_gamma;
required_shared_ptr<UINT32> m_vics_data;
required_shared_ptr<UINT32> m_vics_control;
required_shared_ptr<UINT32> m_czattr;
optional_shared_ptr<UINT32> m_vics_data;
optional_shared_ptr<UINT32> m_vics_control;
optional_shared_ptr<UINT32> m_czattr;
required_shared_ptr<UINT32> m_tilemapattr;
optional_shared_ptr<UINT32> m_czram;

View File

@ -28,7 +28,7 @@ public:
required_shared_ptr<UINT16> m_colorram2;
required_shared_ptr<UINT16> m_spriteram;
required_shared_ptr<UINT16> m_paletteram;
required_shared_ptr<UINT8> m_gx400_shared_ram;
optional_shared_ptr<UINT8> m_gx400_shared_ram;
/* video-related */
tilemap_t *m_background;

View File

@ -16,7 +16,7 @@ public:
/* memory pointers */
required_shared_ptr<UINT8> m_videoram;
required_shared_ptr<UINT8> m_colorram;
required_shared_ptr<UINT8> m_paletteram;
optional_shared_ptr<UINT8> m_paletteram;
/* video-related */
tilemap_t *m_tilemap;

View File

@ -12,7 +12,7 @@ public:
m_cchip_ram(*this, "cchip_ram"){ }
/* memory pointers */
required_shared_ptr<UINT8> m_cchip_ram;
optional_shared_ptr<UINT8> m_cchip_ram;
/* video-related */
UINT16 m_sprite_ctrl;

View File

@ -21,7 +21,7 @@ public:
optional_shared_ptr<UINT8> m_spriteram2;
optional_shared_ptr<UINT8> m_s2650_spriteram;
required_shared_ptr<UINT8> m_videoram;
required_shared_ptr<UINT8> m_colorram;
optional_shared_ptr<UINT8> m_colorram;
optional_shared_ptr<UINT8> m_s2650games_tileram;
optional_shared_ptr<UINT8> m_rocktrv2_prot_data;

View File

@ -101,7 +101,8 @@ class pgm_arm_type1_state : public pgm_state
{
public:
pgm_arm_type1_state(const machine_config &mconfig, device_type type, const char *tag)
: pgm_state(mconfig, type, tag) {
: pgm_state(mconfig, type, tag),
m_arm7_shareram(*this, "arm7_shareram") {
m_curslots = 0;
m_puzzli_54_trigger = 0;
@ -137,7 +138,7 @@ public:
UINT16 m_pgm_arm_type1_highlatch_68k_w;
UINT16 m_pgm_arm_type1_lowlatch_68k_w;
UINT32 m_pgm_arm_type1_counter;
UINT32 * m_arm7_shareram;
required_shared_ptr<UINT32> m_arm7_shareram;
cpu_device *m_prot;
};

View File

@ -21,8 +21,8 @@ public:
required_shared_ptr<UINT16> m_spriteram;
// UINT16 * paletteram; // currently this uses generic palette handling (in decocomn.c)
required_shared_ptr<UINT16> m_pktgaldb_fgram;
required_shared_ptr<UINT16> m_pktgaldb_sprites;
optional_shared_ptr<UINT16> m_pktgaldb_fgram;
optional_shared_ptr<UINT16> m_pktgaldb_sprites;
/* devices */
device_t *m_maincpu;

View File

@ -14,12 +14,12 @@ public:
m_rowscroll(*this, "rowscroll"){ }
/* memory pointers */
required_shared_ptr<UINT16> m_bgvideoram;
optional_shared_ptr<UINT16> m_bgvideoram;
required_shared_ptr<UINT16> m_videoram1;
required_shared_ptr<UINT16> m_videoram2;
required_shared_ptr<UINT16> m_videoram3;
optional_shared_ptr<UINT16> m_videoram2;
optional_shared_ptr<UINT16> m_videoram3;
required_shared_ptr<UINT16> m_spriteram;
required_shared_ptr<UINT16> m_rowscroll;
optional_shared_ptr<UINT16> m_rowscroll;
// UINT16 * m_paletteram; // currently this uses generic palette handling
/* video-related */

View File

@ -20,7 +20,7 @@ public:
required_shared_ptr<UINT32> m_vram_0;
required_shared_ptr<UINT32> m_vram_1;
required_shared_ptr<UINT32> m_vregs;
required_shared_ptr<UINT32> m_bootleg_spritebuffer;
optional_shared_ptr<UINT32> m_bootleg_spritebuffer;
UINT32 * m_spritebuf1;
UINT32 * m_spritebuf2;
// UINT32 * m_paletteram; // currently this uses generic palette handling

View File

@ -21,7 +21,7 @@ public:
required_shared_ptr<UINT8> m_spr1_videoram;
required_shared_ptr<UINT8> m_spr2_videoram;
required_shared_ptr<UINT8> m_bg_bot_videoram;
required_shared_ptr<UINT8> m_armwrest_fg_videoram;
optional_shared_ptr<UINT8> m_armwrest_fg_videoram;
tilemap_t *m_bg_top_tilemap;
tilemap_t *m_bg_bot_tilemap;
tilemap_t *m_fg_tilemap;

View File

@ -19,9 +19,9 @@ public:
required_shared_ptr<UINT16> m_vram_2;
required_shared_ptr<UINT16> m_vregs;
required_shared_ptr<UINT16> m_dsw_select;
required_shared_ptr<UINT16> m_backup_ram;
required_shared_ptr<UINT16> m_vram_0ras;
required_shared_ptr<UINT16> m_vram_1ras;
optional_shared_ptr<UINT16> m_backup_ram;
optional_shared_ptr<UINT16> m_vram_0ras;
optional_shared_ptr<UINT16> m_vram_1ras;
bitmap_ind16 *m_tmpbitmap0;
bitmap_ind16 *m_tmpbitmap1;
int m_disable_video;

View File

@ -40,8 +40,8 @@ public:
optional_device<buffered_spriteram16_device> m_spriteram2;
/* memory pointers */
required_shared_ptr<UINT16> m_pf1_rowscroll;
required_shared_ptr<UINT16> m_pf2_rowscroll;
optional_shared_ptr<UINT16> m_pf1_rowscroll;
optional_shared_ptr<UINT16> m_pf2_rowscroll;
required_shared_ptr<UINT16> m_pf3_rowscroll;
required_shared_ptr<UINT16> m_pf4_rowscroll;

View File

@ -12,8 +12,8 @@ public:
required_shared_ptr<UINT8> m_spriteram;
required_shared_ptr<UINT8> m_videoram;
required_shared_ptr<UINT8> m_colorram;
required_shared_ptr<UINT8> m_videoram2;
required_shared_ptr<UINT8> m_colorram2;
optional_shared_ptr<UINT8> m_videoram2;
optional_shared_ptr<UINT8> m_colorram2;
tilemap_t *m_bg_tilemap;
tilemap_t *m_fg_tilemap;

View File

@ -10,7 +10,7 @@ public:
m_spi_scrollram(*this, "spi_scrollram"),
m_spimainram(*this, "spimainram"){ }
required_shared_ptr<UINT32> m_spi_scrollram;
optional_shared_ptr<UINT32> m_spi_scrollram;
required_shared_ptr<UINT32> m_spimainram;
intel_e28f008sa_device *m_flash[2];

View File

@ -15,7 +15,7 @@ public:
required_shared_ptr<UINT8> m_row_scroll;
required_shared_ptr<UINT8> m_spriteram2;
required_shared_ptr<UINT8> m_colorram;
required_shared_ptr<UINT8> m_nvram;
optional_shared_ptr<UINT8> m_nvram;
UINT8 m_portb;
tilemap_t *m_bg_tilemap;

View File

@ -49,12 +49,12 @@ public:
optional_shared_ptr<UINT8> m_sharedram;
optional_shared_ptr<UINT16> m_workram;
required_shared_ptr<UINT16> m_vregs;
required_shared_ptr<UINT16> m_vram_0;
required_shared_ptr<UINT16> m_vctrl_0;
required_shared_ptr<UINT16> m_vram_2;
required_shared_ptr<UINT16> m_vctrl_2;
required_shared_ptr<UINT16> m_paletteram;
optional_shared_ptr<UINT16> m_vregs;
optional_shared_ptr<UINT16> m_vram_0;
optional_shared_ptr<UINT16> m_vctrl_0;
optional_shared_ptr<UINT16> m_vram_2;
optional_shared_ptr<UINT16> m_vctrl_2;
optional_shared_ptr<UINT16> m_paletteram;
optional_shared_ptr<UINT16> m_paletteram2;
optional_shared_ptr<UINT16> m_kiwame_nvram;
optional_shared_ptr<UINT16> m_inttoote_key_select;

View File

@ -14,8 +14,8 @@ public:
required_device<cpu_device> m_maincpu;
optional_shared_ptr<UINT16> m_nvram;
required_shared_ptr<UINT16> m_spriteram;
required_shared_ptr<UINT16> m_vregs;
optional_shared_ptr<UINT16> m_spriteram;
optional_shared_ptr<UINT16> m_vregs;
optional_shared_ptr<UINT32> m_coldfire_regs;
optional_shared_ptr<UINT8> m_funcube_outputs;

View File

@ -8,10 +8,10 @@ public:
m_videoreg(*this, "videoreg"){ }
required_shared_ptr<UINT8> m_videoram;
required_shared_ptr<UINT8> m_spriteram;
optional_shared_ptr<UINT8> m_spriteram;
UINT8 m_bbx_sound_enable;
UINT8 m_sound_latch;
required_shared_ptr<UINT8> m_videoreg;
optional_shared_ptr<UINT8> m_videoreg;
int m_gfx_type;
tilemap_t *m_background;
DECLARE_WRITE8_MEMBER(shangkid_maincpu_bank_w);

View File

@ -29,11 +29,11 @@ public:
int m_getstar_id;
required_shared_ptr<UINT8> m_slapfight_videoram;
required_shared_ptr<UINT8> m_slapfight_colorram;
required_shared_ptr<UINT8> m_slapfight_fixvideoram;
required_shared_ptr<UINT8> m_slapfight_fixcolorram;
required_shared_ptr<UINT8> m_slapfight_scrollx_lo;
required_shared_ptr<UINT8> m_slapfight_scrollx_hi;
required_shared_ptr<UINT8> m_slapfight_scrolly;
optional_shared_ptr<UINT8> m_slapfight_fixvideoram;
optional_shared_ptr<UINT8> m_slapfight_fixcolorram;
optional_shared_ptr<UINT8> m_slapfight_scrollx_lo;
optional_shared_ptr<UINT8> m_slapfight_scrollx_hi;
optional_shared_ptr<UINT8> m_slapfight_scrolly;
int m_slapfight_status;
int m_getstar_sequence_index;
int m_getstar_sh_intenabled;

View File

@ -9,7 +9,7 @@ public:
m_bootleg_spriteram16(*this, "spriteram16b"),
m_maincpu(*this,"maincpu"){ }
required_shared_ptr<UINT16> m_hyperpac_ram;
optional_shared_ptr<UINT16> m_hyperpac_ram;
int m_sb3_music_is_playing;
int m_sb3_music;
UINT8 m_semicom_prot_offset;

View File

@ -14,8 +14,8 @@ public:
required_shared_ptr<UINT16> m_videoram;
required_shared_ptr<UINT16> m_vregs;
required_shared_ptr<UINT16> m_spriteram;
required_shared_ptr<UINT16> m_protdata;
required_shared_ptr<UINT16> m_bitmap_mode;
optional_shared_ptr<UINT16> m_protdata;
optional_shared_ptr<UINT16> m_bitmap_mode;
int m_bitmap_type;
int m_sprite_attr2_shift;

View File

@ -30,7 +30,7 @@ public:
required_shared_ptr<UINT16> m_sprite_paletteram2;
required_shared_ptr<UINT16> m_tile_paletteram1;
required_shared_ptr<UINT16> m_prot_data;
optional_shared_ptr<UINT16> m_prot_data;
int m_video_control;

Some files were not shown because too many files have changed in this diff Show More