bsnes/higan/sfc/controller/multitap/multitap.hpp

12 lines
183 B
C++
Raw Normal View History

struct Multitap : Controller {
Multitap(bool port);
auto data() -> uint2;
auto latch(bool data) -> void;
private:
bool latched;
unsigned counter1;
unsigned counter2;
};