summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/mjsister.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/mjsister.cpp')
-rw-r--r--src/mame/drivers/mjsister.cpp16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/mame/drivers/mjsister.cpp b/src/mame/drivers/mjsister.cpp
index 4b6880a4cde..95208543ff3 100644
--- a/src/mame/drivers/mjsister.cpp
+++ b/src/mame/drivers/mjsister.cpp
@@ -25,11 +25,6 @@
class mjsister_state : public driver_device
{
public:
- enum
- {
- TIMER_DAC
- };
-
mjsister_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
@@ -38,6 +33,14 @@ public:
m_dac(*this, "dac"),
m_rombank(*this, "bank1") { }
+ void mjsister(machine_config &config);
+
+private:
+ enum
+ {
+ TIMER_DAC
+ };
+
/* video-related */
std::unique_ptr<bitmap_ind16> m_tmpbitmap0;
std::unique_ptr<bitmap_ind16> m_tmpbitmap1;
@@ -92,10 +95,9 @@ public:
void plot0( int offset, uint8_t data );
void plot1( int offset, uint8_t data );
- void mjsister(machine_config &config);
void mjsister_io_map(address_map &map);
void mjsister_map(address_map &map);
-protected:
+
virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr) override;
emu_timer *m_dac_timer;