mirror of
https://github.com/rodamaral/lsnes.git
synced 2025-04-02 10:42:15 -04:00
12 lines
337 B
C++
Executable file
12 lines
337 B
C++
Executable file
struct Interface {
|
|
virtual void lcdScanline();
|
|
virtual void joypWrite(bool p15, bool p14);
|
|
|
|
virtual void videoRefresh(const uint16_t *data);
|
|
virtual void audioSample(int16_t center, int16_t left, int16_t right);
|
|
virtual bool inputPoll(unsigned id);
|
|
|
|
virtual void message(const string &text);
|
|
};
|
|
|
|
extern Interface *interface;
|