summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/machine/wswan.c
diff options
context:
space:
mode:
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;
}