summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/msx_slot/rom.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/msx_slot/rom.h')
-rw-r--r--src/devices/bus/msx_slot/rom.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/devices/bus/msx_slot/rom.h b/src/devices/bus/msx_slot/rom.h
index eee554a362a..6bcd480a5a3 100644
--- a/src/devices/bus/msx_slot/rom.h
+++ b/src/devices/bus/msx_slot/rom.h
@@ -7,10 +7,6 @@
#include "slot.h"
-#define MCFG_MSX_SLOT_ROM_ADD(_tag, _startpage, _numpages, _region, _offset) \
- MCFG_MSX_INTERNAL_SLOT_ADD(_tag, MSX_SLOT_ROM, _startpage, _numpages) \
- downcast<msx_slot_rom_device &>(*device).set_rom_start(_region, _offset);
-
class msx_slot_rom_device : public device_t,
public msx_internal_slot_interface
{
@@ -20,7 +16,7 @@ public:
// configuration helpers
void set_rom_start(const char *region, uint32_t offset) { m_rom_region.set_tag(region); m_region_offset = offset; }
- virtual DECLARE_READ8_MEMBER(read) override;
+ virtual uint8_t read(offs_t offset) override;
protected:
msx_slot_rom_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock);