mirror of https://github.com/bsnes-emu/bsnes.git
19 lines
380 B
C++
19 lines
380 B
C++
struct Justifier : Controller {
|
|
void enter();
|
|
uint2 data();
|
|
void latch(bool data);
|
|
Justifier(bool port, bool chained);
|
|
|
|
//private:
|
|
const bool chained; //true if the second justifier is attached to the first
|
|
const unsigned device;
|
|
bool latched;
|
|
unsigned counter;
|
|
|
|
bool active;
|
|
struct Player {
|
|
signed x, y;
|
|
bool trigger, start;
|
|
} player1, player2;
|
|
};
|