summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/gmboard.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/gmboard.h')
-rw-r--r--src/devices/machine/gmboard.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/devices/machine/gmboard.h b/src/devices/machine/gmboard.h
index f0c38360ecd..743b61f5b26 100644
--- a/src/devices/machine/gmboard.h
+++ b/src/devices/machine/gmboard.h
@@ -27,8 +27,8 @@ public:
sensorboard_device &get() { return *m_board; }
// external read/write handlers
- int magnet_r() { return (started() && m_piece_hand) ? 1 : 0; }
void magnet_w(int state);
+ int magnet_r();
void motor_w(offs_t offset, u8 data);
u8 quad_r(offs_t offset) { return m_motor_quad[offset & 1]; }
@@ -76,6 +76,7 @@ private:
void get_scaled_pos(double *x, double *y);
void output_magnet_pos();
void realign_magnet_pos();
+ int check_board(bool magnet, bool sensor);
TIMER_CALLBACK_MEMBER(motor_count);
};