diff options
author | 2015-09-14 17:54:24 -0400 | |
---|---|---|
committer | 2015-09-14 17:54:24 -0400 | |
commit | 249d8f752cd1e4fe12e7212d29138c6058f5c3ba (patch) | |
tree | f0f9074559d37863a6f299af1311e9bca8ebb0a7 /src/devices/bus/sms_ctrl/sports.h | |
parent | 54f43da62d75a29be676106ba99a587fd4cb5b19 (diff) |
315-5124.c: Minor changes and fix a regression that in theory could affect zoomed sprites in TMS9918 modes. [Enik Land]
gamegear.c / sms.c: Improve GG-SMS scaling code a little and update the Todo list. Fixed MT#05872 regarding incorrect behavior of the Sports Pad (US model) emulation. [Enik Land]
Diffstat (limited to 'src/devices/bus/sms_ctrl/sports.h')
-rw-r--r-- | src/devices/bus/sms_ctrl/sports.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/devices/bus/sms_ctrl/sports.h b/src/devices/bus/sms_ctrl/sports.h index b0efde2abe8..f303b140a5b 100644 --- a/src/devices/bus/sms_ctrl/sports.h +++ b/src/devices/bus/sms_ctrl/sports.h @@ -53,8 +53,13 @@ private: UINT8 m_read_state; UINT8 m_last_data; + UINT8 m_x_axis_reset_value; + UINT8 m_y_axis_reset_value; const attotime m_interval; - attotime m_last_time; + emu_timer *m_sportspad_timer; + static const device_timer_id TIMER_SPORTSPAD = 0; + + void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr); }; |