summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/machine/c64exp.c
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2013-01-11 07:32:46 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2013-01-11 07:32:46 +0000
commit0e19f641d3186cdbf51f8ca857e2b07ab95779c2 (patch)
tree234109de1123b13f217494af4b3f8efad346d5cc /src/mess/machine/c64exp.c
parent111157ca09a9ff60fe4a9ba49173c315e94314fa (diff)
Cleanups and version bumpmame0148
Diffstat (limited to 'src/mess/machine/c64exp.c')
-rw-r--r--src/mess/machine/c64exp.c34
1 files changed, 17 insertions, 17 deletions
diff --git a/src/mess/machine/c64exp.c b/src/mess/machine/c64exp.c
index e7acfc4950c..1fadfb8abcf 100644
--- a/src/mess/machine/c64exp.c
+++ b/src/mess/machine/c64exp.c
@@ -37,16 +37,16 @@ const device_type C64_EXPANSION_SLOT = &device_creator<c64_expansion_slot_device
device_c64_expansion_card_interface::device_c64_expansion_card_interface(const machine_config &mconfig, device_t &device)
: device_slot_card_interface(mconfig, device),
- m_roml(NULL),
- m_romh(NULL),
- m_ram(NULL),
- m_nvram(NULL),
- m_nvram_size(0),
- m_roml_mask(0),
- m_romh_mask(0),
- m_ram_mask(0),
- m_game(1),
- m_exrom(1)
+ m_roml(NULL),
+ m_romh(NULL),
+ m_ram(NULL),
+ m_nvram(NULL),
+ m_nvram_size(0),
+ m_roml_mask(0),
+ m_romh_mask(0),
+ m_ram_mask(0),
+ m_game(1),
+ m_exrom(1)
{
m_slot = dynamic_cast<c64_expansion_slot_device *>(device.owner());
}
@@ -140,7 +140,7 @@ UINT8* device_c64_expansion_card_interface::c64_nvram_pointer(running_machine &m
//-------------------------------------------------
c64_expansion_slot_device::c64_expansion_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
- device_t(mconfig, C64_EXPANSION_SLOT, "C64 expansion port", tag, owner, clock),
+ device_t(mconfig, C64_EXPANSION_SLOT, "C64 expansion port", tag, owner, clock),
device_slot_interface(mconfig, *this),
device_image_interface(mconfig, *this)
{
@@ -174,12 +174,12 @@ void c64_expansion_slot_device::device_config_complete()
// or initialize to defaults if none provided
else
{
- memset(&m_in_dma_cd_cb, 0, sizeof(m_in_dma_cd_cb));
- memset(&m_out_dma_cd_cb, 0, sizeof(m_out_dma_cd_cb));
- memset(&m_out_irq_cb, 0, sizeof(m_out_irq_cb));
- memset(&m_out_nmi_cb, 0, sizeof(m_out_nmi_cb));
- memset(&m_out_dma_cb, 0, sizeof(m_out_dma_cb));
- memset(&m_out_reset_cb, 0, sizeof(m_out_reset_cb));
+ memset(&m_in_dma_cd_cb, 0, sizeof(m_in_dma_cd_cb));
+ memset(&m_out_dma_cd_cb, 0, sizeof(m_out_dma_cd_cb));
+ memset(&m_out_irq_cb, 0, sizeof(m_out_irq_cb));
+ memset(&m_out_nmi_cb, 0, sizeof(m_out_nmi_cb));
+ memset(&m_out_dma_cb, 0, sizeof(m_out_dma_cb));
+ memset(&m_out_reset_cb, 0, sizeof(m_out_reset_cb));
}
// set brief and instance name