megadriv.cpp: fixed MT06326 (nw)

This commit is contained in:
Ivan Vangelista 2016-07-29 18:19:42 +02:00
parent 4bee2c4f1f
commit d5d6a6e308
2 changed files with 3 additions and 3 deletions

View File

@ -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];

View File

@ -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");