summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/pofo/rom.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/pofo/rom.h')
-rw-r--r--src/devices/bus/pofo/rom.h18
1 files changed, 8 insertions, 10 deletions
diff --git a/src/devices/bus/pofo/rom.h b/src/devices/bus/pofo/rom.h
index f8b7841f0cd..eab0ff1fde4 100644
--- a/src/devices/bus/pofo/rom.h
+++ b/src/devices/bus/pofo/rom.h
@@ -6,10 +6,10 @@
**********************************************************************/
-#pragma once
+#ifndef MAME_BUS_POFO_ROM_H
+#define MAME_BUS_POFO_ROM_H
-#ifndef __PORTFOLIO_ROM_CARD__
-#define __PORTFOLIO_ROM_CARD__
+#pragma once
#include "ccm.h"
@@ -19,14 +19,14 @@
// TYPE DEFINITIONS
//**************************************************************************
-// ======================> portfolio_rom_card_t
+// ======================> portfolio_rom_card_device
-class portfolio_rom_card_t : public device_t,
+class portfolio_rom_card_device : public device_t,
public device_portfolio_memory_card_slot_interface
{
public:
// construction/destruction
- portfolio_rom_card_t(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ portfolio_rom_card_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
protected:
// device-level overrides
@@ -40,8 +40,6 @@ protected:
// device type definition
-extern const device_type PORTFOLIO_ROM_CARD;
-
-
+DECLARE_DEVICE_TYPE(PORTFOLIO_ROM_CARD, portfolio_rom_card_device)
-#endif
+#endif // MAME_BUS_POFO_ROM_H