summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/c64/c128_partner.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/c64/c128_partner.h')
-rw-r--r--src/devices/bus/c64/c128_partner.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/devices/bus/c64/c128_partner.h b/src/devices/bus/c64/c128_partner.h
index f38295f7231..632e526b035 100644
--- a/src/devices/bus/c64/c128_partner.h
+++ b/src/devices/bus/c64/c128_partner.h
@@ -6,10 +6,10 @@
**********************************************************************/
-#pragma once
+#ifndef MAME_BUS_C64_C128_PARTNER_H
+#define MAME_BUS_C64_C128_PARTNER_H
-#ifndef __C128_PARTNER__
-#define __C128_PARTNER__
+#pragma once
#include "bus/c64/exp.h"
#include "bus/vcs_ctrl/ctrl.h"
@@ -20,15 +20,15 @@
// TYPE DEFINITIONS
//**************************************************************************
-// ======================> partner128_t
+// ======================> c128_partner_cartridge_device
-class partner128_t : public device_t,
+class c128_partner_cartridge_device : public device_t,
public device_c64_expansion_card_interface
//public device_vcs_control_port_interface
{
public:
// construction/destruction
- partner128_t(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ c128_partner_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
// optional information overrides
virtual ioport_constructor device_input_ports() const override;
@@ -61,7 +61,7 @@ private:
// device type definition
-extern const device_type C128_PARTNER;
+DECLARE_DEVICE_TYPE(C128_PARTNER, c128_partner_cartridge_device)
-#endif
+#endif // MAME_BUS_C64_C128_PARTNER_H