summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/msx_slot/ram.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/msx_slot/ram.h')
-rw-r--r--src/devices/bus/msx_slot/ram.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/devices/bus/msx_slot/ram.h b/src/devices/bus/msx_slot/ram.h
index f96271ad066..9e8f08bc373 100644
--- a/src/devices/bus/msx_slot/ram.h
+++ b/src/devices/bus/msx_slot/ram.h
@@ -3,25 +3,24 @@
#ifndef MAME_BUS_MSX_SLOT_RAM_H
#define MAME_BUS_MSX_SLOT_RAM_H
+#pragma once
+
#include "slot.h"
class msx_slot_ram_device : public device_t,
public msx_internal_slot_interface
{
public:
- msx_slot_ram_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ msx_slot_ram_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock);
// Set to 0xe000 for 8KB RAM
- void force_start_address(uint16_t start) { m_start_address = start; }
-
- virtual uint8_t read(offs_t offset) override;
- virtual void write(offs_t offset, uint8_t data) override;
+ void force_start_address(u16 start) { m_start_address = start; }
protected:
virtual void device_start() override;
private:
- std::vector<uint8_t> m_ram;
+ std::vector<u8> m_ram;
};