summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author arbee <rb6502@users.noreply.github.com>2021-01-25 20:25:19 -0500
committer arbee <rb6502@users.noreply.github.com>2021-01-25 20:25:19 -0500
commit39ed223cf8afd8f406697b5a758e22f20347bffc (patch)
treec7ac314c9c58cafb23cda0779c633b9968874ee1
parent27f10776491589e2b9b447fab99a9dd08d1e2ac7 (diff)
mac: fixes for Clang compile [R. Belmont]
-rw-r--r--src/devices/machine/swim1.h10
-rw-r--r--src/mame/drivers/mac.cpp8
2 files changed, 9 insertions, 9 deletions
diff --git a/src/devices/machine/swim1.h b/src/devices/machine/swim1.h
index 2c362e41da7..47f68727dfb 100644
--- a/src/devices/machine/swim1.h
+++ b/src/devices/machine/swim1.h
@@ -63,14 +63,14 @@ private:
u8 m_ism_param[16];
u8 m_ism_mode, m_ism_setup;
- u8 m_ism_error;
+ //u8 m_ism_error;
u8 m_ism_param_idx, m_ism_fifo_pos;
- u8 m_ism_tss_sr, m_ism_tss_output, m_ism_current_bit;
+ //u8 m_ism_tss_sr, m_ism_tss_output, m_ism_current_bit;
u16 m_ism_fifo[2];
- u16 m_ism_sr;
+ //u16 m_ism_sr;
u16 m_ism_crc;
- u16 m_ism_mfm_sync_counter;
- u32 m_ism_half_cycles_before_change;
+ //u16 m_ism_mfm_sync_counter;
+ //u32 m_ism_half_cycles_before_change;
u64 m_iwm_next_state_change, m_iwm_sync_update, m_iwm_async_update;
int m_iwm_active, m_iwm_rw, m_iwm_rw_state;
diff --git a/src/mame/drivers/mac.cpp b/src/mame/drivers/mac.cpp
index 30af5f132a0..10ce9a72548 100644
--- a/src/mame/drivers/mac.cpp
+++ b/src/mame/drivers/mac.cpp
@@ -674,7 +674,7 @@ void mac_state::pwrmac_map(address_map &map)
/***************************************************************************
DEVICE CONFIG
***************************************************************************/
-
+#if !NEW_SWIM
static const applefdc_interface mac_iwm_interface =
{
sony_set_lines,
@@ -684,7 +684,7 @@ static const applefdc_interface mac_iwm_interface =
sony_write_data,
sony_read_status
};
-
+#endif
static void mac_nubus_cards(device_slot_interface &device)
{
device.option_add("m2video", NUBUS_M2VIDEO); /* Apple Macintosh II Video Card */
@@ -722,14 +722,14 @@ static void mac_lcpds_cards(device_slot_interface &device)
/***************************************************************************
MACHINE DRIVERS
***************************************************************************/
-
+#if !NEW_SWIM
static const floppy_interface mac_floppy_interface =
{
FLOPPY_STANDARD_3_5_DSHD,
LEGACY_FLOPPY_OPTIONS_NAME(apple35_mac),
"floppy_3_5"
};
-
+#endif
void mac_state::add_base_devices(machine_config &config, bool rtc, int woz_version)
{
if (rtc)