summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/machine/wswan.c
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2013-04-14 11:10:54 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2013-04-14 11:10:54 +0000
commit3957fc386f0eff085e2eff309bd71c08b8d32c3f (patch)
tree7764dfa3b31eb63d0a29c88c6e6f252247962c6f /src/mess/machine/wswan.c
parent3543d57a98efff89d343f358c925ffbed4966556 (diff)
more cleanup (nw)
Diffstat (limited to 'src/mess/machine/wswan.c')
-rw-r--r--src/mess/machine/wswan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mess/machine/wswan.c b/src/mess/machine/wswan.c
index c5d52d2126d..27c2ce09c11 100644
--- a/src/mess/machine/wswan.c
+++ b/src/mess/machine/wswan.c
@@ -1367,7 +1367,7 @@ DEVICE_IMAGE_LOAD_MEMBER(wswan_state,wswan_cart)
for (ii = 0; ii < m_ROMBanks; ii++)
{
- if ((m_ROMMap[ii] = auto_alloc_array(image.device().machine(), UINT8, 0x10000)))
+ if ((m_ROMMap[ii] = auto_alloc_array(machine(), UINT8, 0x10000)))
{
if (image.software_entry() == NULL)
{
@@ -1423,7 +1423,7 @@ DEVICE_IMAGE_LOAD_MEMBER(wswan_state,wswan_cart)
if (m_eeprom.size != 0)
{
- m_eeprom.data = auto_alloc_array(image.device().machine(), UINT8, m_eeprom.size);
+ m_eeprom.data = auto_alloc_array(machine(), UINT8, m_eeprom.size);
image.battery_load(m_eeprom.data, m_eeprom.size, 0x00);
m_eeprom.page = m_eeprom.data;
}