mirror of
https://github.com/Michael-Prince-Sharpe/bsnes-classic.git
synced 2025-04-02 10:21:42 -04:00
16 lines
514 B
C++
16 lines
514 B
C++
class Interface : public SNES::Interface {
|
|
public:
|
|
void video_refresh(const uint16_t *data, unsigned width, unsigned height);
|
|
void audio_sample(uint16_t left, uint16_t right);
|
|
void input_poll();
|
|
int16_t input_poll(bool port, SNES::Input::Device device, unsigned index, unsigned id);
|
|
void message(const string &text);
|
|
|
|
Interface();
|
|
void captureScreenshot(uint32_t*, unsigned, unsigned, unsigned);
|
|
bool saveScreenshot;
|
|
bool framesUpdated;
|
|
unsigned framesExecuted;
|
|
};
|
|
|
|
extern Interface interface;
|