mirror of
https://github.com/holub/mame
synced 2025-04-24 17:30:55 +03:00
megadriv.cpp: fixed MT06326 (nw)
This commit is contained in:
parent
4bee2c4f1f
commit
d5d6a6e308
@ -53,7 +53,8 @@ public:
|
||||
m_ymsnd(*this,"ymsnd"),
|
||||
m_vdp(*this,"gen_vdp"),
|
||||
m_snsnd(*this, "snsnd"),
|
||||
m_megadrive_ram(*this,"megadrive_ram")
|
||||
m_megadrive_ram(*this,"megadrive_ram"),
|
||||
m_io_reset(*this, "RESET")
|
||||
{ }
|
||||
required_device<m68000_base_device> m_maincpu;
|
||||
optional_device<cpu_device> m_z80snd;
|
||||
@ -63,7 +64,7 @@ public:
|
||||
optional_shared_ptr<UINT16> m_megadrive_ram;
|
||||
|
||||
|
||||
ioport_port *m_io_reset;
|
||||
optional_ioport m_io_reset;
|
||||
ioport_port *m_io_pad_3b[4];
|
||||
ioport_port *m_io_pad_6b[4];
|
||||
|
||||
|
@ -788,7 +788,6 @@ VIDEO_START_MEMBER(md_base_state,megadriv)
|
||||
|
||||
MACHINE_START_MEMBER(md_base_state,megadriv)
|
||||
{
|
||||
m_io_reset = ioport("RESET");
|
||||
m_io_pad_3b[0] = ioport("PAD1");
|
||||
m_io_pad_3b[1] = ioport("PAD2");
|
||||
m_io_pad_3b[2] = ioport("IN0");
|
||||
|
Loading…
Reference in New Issue
Block a user