summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/mapledev.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/mapledev.h')
-rw-r--r--src/mame/machine/mapledev.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mame/machine/mapledev.h b/src/mame/machine/mapledev.h
index f8942d13853..6d858fbd442 100644
--- a/src/mame/machine/mapledev.h
+++ b/src/mame/machine/mapledev.h
@@ -1,7 +1,7 @@
// license:BSD-3-Clause
// copyright-holders:Olivier Galibert
-#ifndef _MAPLEDEV_H_
-#define _MAPLEDEV_H_
+#ifndef MAME_MACHINE_MAPLEDEV_H
+#define MAME_MACHINE_MAPLEDEV_H
#define MCFG_MAPLE_DEVICE_ADD(_tag, _type, _clock, _host_tag, _host_port) \
MCFG_DEVICE_ADD(_tag, _type, _clock) \
@@ -10,8 +10,6 @@
class maple_device : public device_t
{
public:
- maple_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, uint32_t clock, const char *shortname, const char *source);
-
static void static_set_host(device_t &device, const char *_host_tag, int _host_port);
virtual void maple_w(const uint32_t *data, uint32_t in_size) = 0;
void maple_r(uint32_t *data, uint32_t &out_size, bool &partial);
@@ -20,6 +18,8 @@ public:
protected:
enum { TIMER_ID = 1000 };
+ maple_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock);
+
uint32_t reply_size;
bool reply_partial;
uint32_t reply_buffer[256];
@@ -47,4 +47,4 @@ private:
emu_timer *timer;
};
-#endif // _MAPLEDEV_H_
+#endif // MAME_MACHINE_MAPLEDEV_H