For Fabio. (nw)

This commit is contained in:
Andrew Gardner 2013-05-25 01:01:25 +00:00
parent 6a2670ab42
commit d08a19925e
2 changed files with 6 additions and 1 deletions

View File

@ -587,7 +587,7 @@ public:
TIMER_UPDATE_IO, TIMER_UPDATE_IO,
TIMER_SCANLINE_TICK, TIMER_SCANLINE_TICK,
TIMER_HBLANK_TICK, TIMER_HBLANK_TICK,
TIMER_LIGHTGUN_TICK // used in MESS for crosshairs TIMER_SNES_LAST
}; };
snes_state(const machine_config &mconfig, device_type type, const char *tag) snes_state(const machine_config &mconfig, device_type type, const char *tag)

View File

@ -48,6 +48,11 @@
class snes_console_state : public snes_state class snes_console_state : public snes_state
{ {
public: public:
enum
{
TIMER_LIGHTGUN_TICK = TIMER_SNES_LAST
};
snes_console_state(const machine_config &mconfig, device_type type, const char *tag) snes_console_state(const machine_config &mconfig, device_type type, const char *tag)
: snes_state(mconfig, type, tag) : snes_state(mconfig, type, tag)
, m_cartslot(*this, "snsslot") , m_cartslot(*this, "snsslot")