summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/machine
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2013-07-23 07:18:56 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2013-07-23 07:18:56 +0000
commit14629cbcb42fb824f71120ca93fcb7d53a360390 (patch)
tree4d8b9459d6e98a677927c934c5322c328819de3a /src/emu/machine
parentd3f32a1ba70fe3edf112059b6319fbfe218fe8d6 (diff)
Cleanups and version bumpmame0149u1
Diffstat (limited to 'src/emu/machine')
-rw-r--r--src/emu/machine/68307.c2
-rw-r--r--src/emu/machine/68307.h2
-rw-r--r--src/emu/machine/68340.c2
-rw-r--r--src/emu/machine/68340.h2
-rw-r--r--src/emu/machine/ds2404.c4
-rw-r--r--src/emu/machine/jvsdev.c2
-rw-r--r--src/emu/machine/jvshost.c4
-rw-r--r--src/emu/machine/k053252.h2
-rw-r--r--src/emu/machine/tmp68301.c4
-rw-r--r--src/emu/machine/tmp68301.h4
10 files changed, 13 insertions, 15 deletions
diff --git a/src/emu/machine/68307.c b/src/emu/machine/68307.c
index ce82c7132fe..ecb663f2c2a 100644
--- a/src/emu/machine/68307.c
+++ b/src/emu/machine/68307.c
@@ -205,7 +205,7 @@ void m68307cpu_device::device_start()
/* basic CS logic, timers, mbus, serial logic
set via remappable register
*/
-
+
init16_m68307(*program);
m68307SIM = new m68307_sim();
diff --git a/src/emu/machine/68307.h b/src/emu/machine/68307.h
index 969138559cb..99e71d66e6e 100644
--- a/src/emu/machine/68307.h
+++ b/src/emu/machine/68307.h
@@ -96,4 +96,4 @@ extern void m68307_serial_interrupt(m68307cpu_device *cpudev, int vector);
extern void m68307_mbus_interrupt(m68307cpu_device *cpudev);
extern void m68307_licr2_interrupt(m68307cpu_device *cpudev);
-#endif \ No newline at end of file
+#endif
diff --git a/src/emu/machine/68340.c b/src/emu/machine/68340.c
index bf02cb92a88..ec6f5bbf6bd 100644
--- a/src/emu/machine/68340.c
+++ b/src/emu/machine/68340.c
@@ -146,5 +146,3 @@ void m68340cpu_device::device_start()
internal = &this->space(AS_PROGRAM);
}
-
-
diff --git a/src/emu/machine/68340.h b/src/emu/machine/68340.h
index 5ba3dc2b643..fdcd43e1520 100644
--- a/src/emu/machine/68340.h
+++ b/src/emu/machine/68340.h
@@ -65,4 +65,4 @@ extern UINT16 m68340_get_cs(m68340cpu_device *device, offs_t address);
-#endif \ No newline at end of file
+#endif
diff --git a/src/emu/machine/ds2404.c b/src/emu/machine/ds2404.c
index 70bea84c0ce..1f335583a37 100644
--- a/src/emu/machine/ds2404.c
+++ b/src/emu/machine/ds2404.c
@@ -96,7 +96,7 @@ void ds2404_device::device_start()
m_rtc[2] = (current_time >> 8) & 0xff;
m_rtc[3] = (current_time >> 16) & 0xff;
m_rtc[4] = (current_time >> 24) & 0xff;
-
+
for (int i = 0; i < 8; i++)
m_state[i] = DS2404_STATE_IDLE;
@@ -361,7 +361,7 @@ void ds2404_device::device_timer(emu_timer &timer, device_timer_id id, int param
break;
}
}
-
+
break;
}
diff --git a/src/emu/machine/jvsdev.c b/src/emu/machine/jvsdev.c
index 5402bb81118..d85cb23a2cd 100644
--- a/src/emu/machine/jvsdev.c
+++ b/src/emu/machine/jvsdev.c
@@ -8,7 +8,7 @@ void jvs_device::static_set_jvs_host_tag(device_t &device, const char *jvs_host_
}
jvs_device::jvs_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
- : device_t(mconfig, type, name, tag, owner, clock, shortname, source)
+ : device_t(mconfig, type, name, tag, owner, clock, shortname, source)
{
jvs_host_tag = 0;
next_device = 0;
diff --git a/src/emu/machine/jvshost.c b/src/emu/machine/jvshost.c
index 11351d66e7d..96fba6c1acb 100644
--- a/src/emu/machine/jvshost.c
+++ b/src/emu/machine/jvshost.c
@@ -26,8 +26,8 @@ void jvs_host::device_reset()
memset(recv_buffer, 0, sizeof(recv_buffer));
}
-jvs_host::jvs_host(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
- : device_t(mconfig, type, name, tag, owner, clock, shortname, source)
+jvs_host::jvs_host(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
+ : device_t(mconfig, type, name, tag, owner, clock, shortname, source)
{
first_device = 0;
}
diff --git a/src/emu/machine/k053252.h b/src/emu/machine/k053252.h
index e89caabbe9a..1eef2e67b36 100644
--- a/src/emu/machine/k053252.h
+++ b/src/emu/machine/k053252.h
@@ -19,7 +19,7 @@ struct k053252_interface
};
class k053252_device : public device_t,
- public k053252_interface
+ public k053252_interface
{
public:
k053252_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
diff --git a/src/emu/machine/tmp68301.c b/src/emu/machine/tmp68301.c
index 5aa882318cd..53443da9a0e 100644
--- a/src/emu/machine/tmp68301.c
+++ b/src/emu/machine/tmp68301.c
@@ -14,7 +14,7 @@
const device_type TMP68301 = &device_creator<tmp68301_device>;
tmp68301_device::tmp68301_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
- : device_t(mconfig, TMP68301, "TMP68301", tag, owner, clock, "tmp68301", __FILE__)
+ : device_t(mconfig, TMP68301, "TMP68301", tag, owner, clock, "tmp68301", __FILE__)
{
}
@@ -50,7 +50,7 @@ void tmp68301_device::device_reset()
for (i = 0; i < 3; i++)
m_IE[i] = 0;
- machine().firstcpu->set_irq_acknowledge_callback(device_irq_acknowledge_delegate(FUNC(tmp68301_device::irq_callback),this));
+ machine().firstcpu->set_irq_acknowledge_callback(device_irq_acknowledge_delegate(FUNC(tmp68301_device::irq_callback),this));
}
diff --git a/src/emu/machine/tmp68301.h b/src/emu/machine/tmp68301.h
index 81643718cdc..c6e5df93ca3 100644
--- a/src/emu/machine/tmp68301.h
+++ b/src/emu/machine/tmp68301.h
@@ -21,7 +21,7 @@ protected:
virtual void device_config_complete();
virtual void device_start();
virtual void device_reset();
-
+
private:
// internal state
UINT16 m_regs[0x400];
@@ -30,7 +30,7 @@ private:
emu_timer *m_tmp68301_timer[3]; // 3 Timers
int m_irq_vector[8];
-
+
TIMER_CALLBACK_MEMBER( timer_callback );
void update_timer( int i );
IRQ_CALLBACK_MEMBER(irq_callback);