diff options
Diffstat (limited to 'src/mame/drivers/galgames.cpp')
-rw-r--r-- | src/mame/drivers/galgames.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mame/drivers/galgames.cpp b/src/mame/drivers/galgames.cpp index 4f7a4e2f1d3..a96793e50dd 100644 --- a/src/mame/drivers/galgames.cpp +++ b/src/mame/drivers/galgames.cpp @@ -48,6 +48,7 @@ Notes: #include "emupal.h" #include "screen.h" #include "speaker.h" +#include "dirom.h" /*************************************************************************** @@ -67,7 +68,7 @@ DECLARE_DEVICE_TYPE(GALGAMES_SLOT, galgames_slot_device) // CART declaration -class galgames_cart_device : public device_t, public device_rom_interface +class galgames_cart_device : public device_t, public device_rom_interface<21, 1, 0, ENDIANNESS_BIG> { public: // construction/destruction @@ -313,7 +314,7 @@ galgames_cart_device::galgames_cart_device( device_t *owner, u32 clock): device_t(mconfig, type, tag, owner, clock), - device_rom_interface(mconfig, *this, 21, ENDIANNESS_BIG, 16), + device_rom_interface(mconfig, *this), m_cart(0), m_slot(*this, "^slot"), m_eeprom(*this, "eeprom"), |