mirror of
https://github.com/rodamaral/lsnes.git
synced 2025-04-02 10:42:15 -04:00
13 lines
508 B
C++
Executable file
13 lines
508 B
C++
Executable file
struct Interface {
|
|
virtual void videoRefresh(const uint32_t *data, bool hires, bool interlace, bool overscan);
|
|
virtual void audioSample(int16_t lsample, int16_t rsample);
|
|
virtual int16_t inputPoll(bool port, Input::Device device, unsigned index, unsigned id);
|
|
|
|
virtual string path(Cartridge::Slot slot, const string &hint) = 0;
|
|
virtual void message(const string &text);
|
|
virtual time_t currentTime();
|
|
virtual time_t randomSeed();
|
|
virtual void notifyLatched();
|
|
};
|
|
|
|
extern Interface *interface;
|