summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu
diff options
context:
space:
mode:
author Angelo Salese <angelosa@users.noreply.github.com>2011-11-13 20:35:34 +0000
committer Angelo Salese <angelosa@users.noreply.github.com>2011-11-13 20:35:34 +0000
commit18b06709c86a698d56c755e478f443a3381af61f (patch)
treeff6ac7921b8210e8c72660210d00048624f50aed /src/emu
parent16e7be92ba2a4a3b78f4cb07878be6d5aa962be1 (diff)
Clean-ups and version bumpmame0144
Diffstat (limited to 'src/emu')
-rw-r--r--src/emu/diimage.c2
-rw-r--r--src/emu/imagedev/floppy.c6
-rw-r--r--src/emu/machine/6522via.c6
-rw-r--r--src/emu/machine/amigafdc.c2
-rw-r--r--src/emu/machine/ncr539x.c2
-rw-r--r--src/emu/machine/ncr539x.h4
6 files changed, 11 insertions, 11 deletions
diff --git a/src/emu/diimage.c b/src/emu/diimage.c
index 144c53d440f..39bcc92d6f8 100644
--- a/src/emu/diimage.c
+++ b/src/emu/diimage.c
@@ -999,7 +999,7 @@ void device_image_interface::clear()
void device_image_interface::unload()
{
- if (is_loaded() || m_software_info_ptr)
+ if (is_loaded() || m_software_info_ptr)
{
call_unload();
}
diff --git a/src/emu/imagedev/floppy.c b/src/emu/imagedev/floppy.c
index 74dad81ec6c..43f0ba7353a 100644
--- a/src/emu/imagedev/floppy.c
+++ b/src/emu/imagedev/floppy.c
@@ -431,7 +431,7 @@ void floppy_image_device::write_zone(UINT32 *buf, int &cells, int &index, UINT32
while(spos < epos) {
while(index != cells-1 && (buf[index+1] & floppy_image::TIME_MASK) <= spos)
index++;
-
+
UINT32 ref_start = buf[index] & floppy_image::TIME_MASK;
UINT32 ref_end = index == cells-1 ? 200000000 : buf[index+1] & floppy_image::TIME_MASK;
UINT32 ref_mg = buf[index] & floppy_image::MG_MASK;
@@ -479,7 +479,7 @@ void floppy_image_device::write_zone(UINT32 *buf, int &cells, int &index, UINT32
index++;
}
}
- spos = ref_end;
+ spos = ref_end;
} else {
// Overlap at the start only
@@ -521,7 +521,7 @@ void floppy_image_device::write_zone(UINT32 *buf, int &cells, int &index, UINT32
spos = epos;
}
}
-
+
}
}
diff --git a/src/emu/machine/6522via.c b/src/emu/machine/6522via.c
index ba6385f441e..aad4257dda7 100644
--- a/src/emu/machine/6522via.c
+++ b/src/emu/machine/6522via.c
@@ -471,7 +471,7 @@ void via6522_device::device_timer(emu_timer &timer, device_timer_id id, int para
set_int(INT_T2);
}
break;
-
+
case TIMER_CA2:
m_out_ca2_func(1);
m_out_ca2 = 1;
@@ -550,7 +550,7 @@ READ8_MEMBER( via6522_device::read )
/* call the CA2 output function */
m_out_ca2_func(0);
m_out_ca2 = 0;
-
+
m_ca2_timer->adjust(cycles_to_time(1));
}
/* If CA2 is configured as output and in pulse or handshake mode,
@@ -740,7 +740,7 @@ WRITE8_MEMBER( via6522_device::write )
/* call the CA2 output function */
m_out_ca2_func(0);
m_out_ca2 = 0;
-
+
m_ca2_timer->adjust(cycles_to_time(1));
}
else if (CA2_AUTO_HS(m_pcr))
diff --git a/src/emu/machine/amigafdc.c b/src/emu/machine/amigafdc.c
index df496398fd7..0a9c6974eca 100644
--- a/src/emu/machine/amigafdc.c
+++ b/src/emu/machine/amigafdc.c
@@ -175,7 +175,7 @@ void amiga_fdc::live_run(attotime limit)
amiga_custom_w(space, REG_INTREQ, 0x8000 | INTENA_DSKSYN, 0xffff);
} else
dskbyt &= ~0x0400;
-
+
if(cur_live.bit_counter == 8) {
dskbyt = (dskbyt & 0xff00) | 0x8000 | (cur_live.shift_reg & 0xff);
cur_live.bit_counter = 0;
diff --git a/src/emu/machine/ncr539x.c b/src/emu/machine/ncr539x.c
index fc16d62cd43..09e5f019fc1 100644
--- a/src/emu/machine/ncr539x.c
+++ b/src/emu/machine/ncr539x.c
@@ -14,7 +14,7 @@
#define VERBOSE (0)
#define VERBOSE_READS (0)
-enum
+enum
{
TIMER_539X_COMMAND,
diff --git a/src/emu/machine/ncr539x.h b/src/emu/machine/ncr539x.h
index eee6f560abf..bf3acd71ef8 100644
--- a/src/emu/machine/ncr539x.h
+++ b/src/emu/machine/ncr539x.h
@@ -69,10 +69,10 @@ private:
UINT8 m_clock_factor;
UINT8 m_forced_test;
UINT8 m_data_alignment;
-
+
bool m_selected;
bool m_chipid_available, m_chipid_lock;
-
+
static const int m_fifo_size = 16;
UINT8 m_fifo_ptr, m_fifo[m_fifo_size];