summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author R. Belmont <rb6502@users.noreply.github.com>2013-11-17 17:50:27 +0000
committer R. Belmont <rb6502@users.noreply.github.com>2013-11-17 17:50:27 +0000
commit1f7a06b3bd5c512a2f100a244c82d2ef87e295b1 (patch)
tree7bd0389941c79f51450eea128e086d3451bd292a /src
parentc9e69c39f223e788b3da7d48024c7298d2a1dba0 (diff)
Workaround for older GCCs that bug out on default arguments in template functions. Fixes OS X PowerPC MESS compile. (nw)
Diffstat (limited to 'src')
-rw-r--r--src/mess/machine/6883sam.c24
-rw-r--r--src/mess/machine/6883sam.h2
2 files changed, 13 insertions, 13 deletions
diff --git a/src/mess/machine/6883sam.c b/src/mess/machine/6883sam.c
index 1a9c545a3cd..0e54975ab25 100644
--- a/src/mess/machine/6883sam.c
+++ b/src/mess/machine/6883sam.c
@@ -152,19 +152,19 @@ void sam6883_device::configure_bank(int bank, UINT8 *memory, UINT32 memory_size,
switch(bank)
{
case 4:
- m_space_FF00.point(&m_banks[4], 0x0000);
+ m_space_FF00.point(&m_banks[4], 0x0000, 0);
break;
case 5:
- m_space_FF20.point(&m_banks[5], 0x0000);
+ m_space_FF20.point(&m_banks[5], 0x0000, 0);
break;
case 6:
- m_space_FF40.point(&m_banks[6], 0x0000);
+ m_space_FF40.point(&m_banks[6], 0x0000, 0);
break;
case 7:
- m_space_FF60.point(&m_banks[7], 0x0000);
+ m_space_FF60.point(&m_banks[7], 0x0000, 0);
break;
case 2:
- m_space_FFE0.point(&m_banks[2], 0x1FE0);
+ m_space_FFE0.point(&m_banks[2], 0x1FE0, 0);
break;
}
}
@@ -268,9 +268,9 @@ void sam6883_device::update_memory(void)
{
// full 64k RAM
m_space_0000.point(&m_banks[0], 0x0000, ram_mask);
- m_space_8000.point(&m_banks[0], 0x8000);
- m_space_A000.point(&m_banks[0], 0xA000);
- m_space_C000.point(&m_banks[0], 0xC000);
+ m_space_8000.point(&m_banks[0], 0x8000, 0);
+ m_space_A000.point(&m_banks[0], 0xA000, 0);
+ m_space_C000.point(&m_banks[0], 0xC000, 0);
m_counter_mask = 0xFFFF;
m_counter_or = 0x0000;
setup_rom = false;
@@ -288,13 +288,13 @@ void sam6883_device::update_memory(void)
if (setup_rom)
{
- m_space_8000.point(&m_banks[1], m_banks[1].m_memory_offset);
- m_space_A000.point(&m_banks[2], m_banks[2].m_memory_offset);
- m_space_C000.point(&m_banks[3], m_banks[3].m_memory_offset);
+ m_space_8000.point(&m_banks[1], m_banks[1].m_memory_offset, 0);
+ m_space_A000.point(&m_banks[2], m_banks[2].m_memory_offset, 0);
+ m_space_C000.point(&m_banks[3], m_banks[3].m_memory_offset, 0);
}
// update $FFE0-$FFFF
- m_space_FFE0.point(&m_banks[2], m_banks[2].m_memory_offset + 0x1FE0);
+ m_space_FFE0.point(&m_banks[2], m_banks[2].m_memory_offset + 0x1FE0, 0);
}
diff --git a/src/mess/machine/6883sam.h b/src/mess/machine/6883sam.h
index a62617e3270..a47427faa60 100644
--- a/src/mess/machine/6883sam.h
+++ b/src/mess/machine/6883sam.h
@@ -155,7 +155,7 @@ private:
{
public:
sam_space(sam6883_device &owner);
- void point(const sam_bank *bank, UINT16 offset, UINT16 mask = 0);
+ void point(const sam_bank *bank, UINT16 offset, UINT16 mask);
private:
sam6883_device & m_owner;