summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/iopsio2.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/iopsio2.h')
-rw-r--r--src/devices/machine/iopsio2.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/devices/machine/iopsio2.h b/src/devices/machine/iopsio2.h
index bfe69680c5c..fe1193ba09e 100644
--- a/src/devices/machine/iopsio2.h
+++ b/src/devices/machine/iopsio2.h
@@ -9,12 +9,11 @@
*
*/
-#ifndef DEVICES_MACHINE_IOPSIO2_H
-#define DEVICES_MACHINE_IOPSIO2_H
+#ifndef MAME_MACHINE_IOPSIO2_H
+#define MAME_MACHINE_IOPSIO2_H
#pragma once
-#include "emu.h"
#include "iopintc.h"
#include "ps2pad.h"
#include "ps2mc.h"
@@ -23,16 +22,17 @@ class iop_sio2_device : public device_t
{
public:
template <typename T, typename U, typename V, typename W>
- iop_sio2_device(const machine_config &mconfig, const char *tag, device_t *owner, T &&intc_tag, U &&pad0_tag, V &&pad1_tag, W &&mc0_tag)
- : iop_sio2_device(mconfig, tag, owner, (uint32_t)0)
- {
+ iop_sio2_device(const machine_config &mconfig, const char *tag, device_t *owner, T &&intc_tag, U &&pad0_tag, V &&pad1_tag, W &&mc0_tag)
+ : iop_sio2_device(mconfig, tag, owner, (uint32_t)0)
+ {
m_intc.set_tag(std::forward<T>(intc_tag));
m_pad0.set_tag(std::forward<U>(pad0_tag));
m_pad1.set_tag(std::forward<V>(pad1_tag));
m_mc0.set_tag(std::forward<W>(mc0_tag));
}
- iop_sio2_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ iop_sio2_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ virtual ~iop_sio2_device() override;
DECLARE_READ32_MEMBER(read);
DECLARE_WRITE32_MEMBER(write);
@@ -43,8 +43,8 @@ public:
void receive_from_device_hack(uint8_t data); // TODO: Turn me into a bus interface!
protected:
- virtual void device_start() override;
- virtual void device_reset() override;
+ virtual void device_start() override;
+ virtual void device_reset() override;
TIMER_CALLBACK_MEMBER(response_timer);
@@ -87,4 +87,4 @@ protected:
DECLARE_DEVICE_TYPE(SONYIOP_SIO2, iop_sio2_device)
-#endif // DEVICES_MACHINE_IOPSIO2_H \ No newline at end of file
+#endif // MAME_MACHINE_IOPSIO2_H