summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/sg1000_exp/fm_unit.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/sg1000_exp/fm_unit.h')
-rw-r--r--src/devices/bus/sg1000_exp/fm_unit.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/bus/sg1000_exp/fm_unit.h b/src/devices/bus/sg1000_exp/fm_unit.h
index cb1ddd072db..d1c80e0b178 100644
--- a/src/devices/bus/sg1000_exp/fm_unit.h
+++ b/src/devices/bus/sg1000_exp/fm_unit.h
@@ -12,8 +12,8 @@
#pragma once
-#include "sound/ym2413.h"
#include "sound/sn76496.h"
+#include "sound/ymopl.h"
#include "sg1000exp.h"
@@ -38,8 +38,8 @@ protected:
virtual void device_add_mconfig(machine_config &config) override;
// device_sg1000_expansion_slot_interface overrides
- virtual DECLARE_READ8_MEMBER(peripheral_r) override;
- virtual DECLARE_WRITE8_MEMBER(peripheral_w) override;
+ virtual uint8_t peripheral_r(offs_t offset) override;
+ virtual void peripheral_w(offs_t offset, uint8_t data) override;
virtual bool is_readable(uint8_t offset) override;
virtual bool is_writeable(uint8_t offset) override;
void set_audio_control(uint8_t data);