diff options
author | Robbbert <Robbbert@users.noreply.github.com> | 2020-10-09 19:39:55 +1100 |
---|---|---|
committer | Robbbert <Robbbert@users.noreply.github.com> | 2020-10-09 19:39:55 +1100 |
commit | d1473e0f2f014175f196f3d18affd7e0b5083b26 (patch) | |
tree | f3fa2b068c60bdbefb10fb172a9b8fcfd5c12797 /src/mame/includes | |
parent | a0080be98d99ae54616879b6b32d6b032acdc2ec (diff) |
bigboard: removed anonymous timer
Diffstat (limited to 'src/mame/includes')
-rw-r--r-- | src/mame/includes/xerox820.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mame/includes/xerox820.h b/src/mame/includes/xerox820.h index 86f436f6432..e5e9c9c3f81 100644 --- a/src/mame/includes/xerox820.h +++ b/src/mame/includes/xerox820.h @@ -22,6 +22,7 @@ #include "machine/z80sio.h" #include "sound/spkrdev.h" #include "sound/beep.h" +#include "machine/timer.h" #include "imagedev/floppy.h" #include "imagedev/snapquik.h" #include "emupal.h" @@ -136,6 +137,7 @@ public: bigboard_state(const machine_config &mconfig, device_type type, const char *tag) : xerox820_state(mconfig, type, tag) , m_beeper(*this, "beeper") + , m_beep_timer(*this, "beep_timer") { } void kbpio_pa_w(uint8_t data); @@ -144,9 +146,10 @@ public: protected: virtual void machine_reset() override; - TIMER_CALLBACK_MEMBER(bigboard_beepoff); + TIMER_DEVICE_CALLBACK_MEMBER(beep_timer); required_device<beep_device> m_beeper; + required_device<timer_device> m_beep_timer; bool m_bit5; }; |