lsnes/snes/controller/superscope/superscope.hpp
Ilari Liusvaara efe1b5884c Save controller state when savestating
When savestating, save the controller state and restore it upon loadstate.
Prevents libsnes from mixing up buttons.
2013-05-03 17:48:31 +03:00

23 lines
350 B
C++
Executable file

struct SuperScope : Controller {
void enter();
uint2 data();
void latch(bool data);
void serialize(serializer& s);
SuperScope(bool port);
//private:
bool latched;
unsigned counter;
signed x, y;
bool trigger;
bool cursor;
bool turbo;
bool pause;
bool offscreen;
bool turbolock;
bool triggerlock;
bool pauselock;
};