summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/h8/h8s2600.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/h8/h8s2600.cpp')
-rw-r--r--src/devices/cpu/h8/h8s2600.cpp18
1 files changed, 16 insertions, 2 deletions
diff --git a/src/devices/cpu/h8/h8s2600.cpp b/src/devices/cpu/h8/h8s2600.cpp
index 0c813bd6102..07b187aa700 100644
--- a/src/devices/cpu/h8/h8s2600.cpp
+++ b/src/devices/cpu/h8/h8s2600.cpp
@@ -4,9 +4,11 @@
#include "h8s2600.h"
#include "h8s2600d.h"
-h8s2600_device::h8s2600_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock, address_map_constructor map_delegate) :
- h8s2000_device(mconfig, type, tag, owner, clock, map_delegate)
+h8s2600_device::h8s2600_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, u32 clock, address_map_constructor map_delegate) :
+ h8s2000_device(mconfig, type, tag, owner, clock, map_delegate),
+ m_mac_saturating(false)
{
+ m_has_mac = true;
}
std::unique_ptr<util::disasm_interface> h8s2600_device::create_disassembler()
@@ -14,4 +16,16 @@ std::unique_ptr<util::disasm_interface> h8s2600_device::create_disassembler()
return std::make_unique<h8s2600_disassembler>();
}
+void h8s2600_device::device_start()
+{
+ h8s2000_device::device_start();
+ save_item(NAME(m_mac_saturating));
+}
+
+void h8s2600_device::device_reset()
+{
+ h8s2000_device::device_reset();
+ m_mac_saturating = false;
+}
+
#include "cpu/h8/h8s2600.hxx"