fmtowns: fixed RAM regression. (no whatsnew)

This commit is contained in:
mahlemiut 2013-05-05 23:29:36 +00:00
parent 78ff8075b5
commit 579de8a428
2 changed files with 2 additions and 2 deletions

View File

@ -2618,7 +2618,6 @@ void towns_state::machine_reset()
m_cdrom = machine().device<cdrom_image_device>("cdrom");
m_cdda = machine().device("cdda");
m_scsi = machine().device<fmscsi_device>("scsi:fm");
m_ram = m_ram;
m_ftimer = 0x00;
m_freerun_timer = 0x00;
m_nmi_mask = 0x00;

View File

@ -80,6 +80,7 @@ class towns_state : public driver_device
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_speaker(*this, "speaker"),
m_ram(*this, RAM_TAG),
m_nvram(*this, "nvram"),
m_nvram16(*this, "nvram16")
{ }
@ -97,7 +98,7 @@ class towns_state : public driver_device
device_t* m_cdda;
required_device<speaker_sound_device> m_speaker;
class fmscsi_device* m_scsi;
ram_device* m_ram;
required_device<ram_device> m_ram;
UINT16 m_ftimer;
UINT16 m_freerun_timer;