diff options
Diffstat (limited to 'src/devices/bus/msx_cart/nomapper.h')
-rw-r--r-- | src/devices/bus/msx_cart/nomapper.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/devices/bus/msx_cart/nomapper.h b/src/devices/bus/msx_cart/nomapper.h index 9a47a2f6e30..7b29b6a69b3 100644 --- a/src/devices/bus/msx_cart/nomapper.h +++ b/src/devices/bus/msx_cart/nomapper.h @@ -1,19 +1,20 @@ // license:BSD-3-Clause // copyright-holders:Wilbert Pol -#ifndef __MSX_CART_NOMAPPER_H -#define __MSX_CART_NOMAPPER_H +#ifndef MAME_BUS_MSX_CART_NOMAPPER_H +#define MAME_BUS_MSX_CART_NOMAPPER_H + +#pragma once #include "bus/msx_cart/cartridge.h" -extern const device_type MSX_CART_NOMAPPER; +DECLARE_DEVICE_TYPE(MSX_CART_NOMAPPER, msx_cart_nomapper_device) -class msx_cart_nomapper : public device_t - , public msx_cart_interface +class msx_cart_nomapper_device : public device_t, public msx_cart_interface { public: - msx_cart_nomapper(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); + msx_cart_nomapper_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); // device-level overrides virtual void device_start() override; @@ -27,4 +28,4 @@ private: uint32_t m_end_address; }; -#endif +#endif // MAME_BUS_MSX_CART_NOMAPPER_H |