struct Interface : public GameBoy::Interface {
void video_refresh(const uint8_t *data);
void audio_sample(signed left, signed right);
void input_poll();
bool input_poll(unsigned id);
void message(const string &text);
};
extern Interface interface;