lsnes/target-debugger/interface/interface.hpp
2013-05-03 17:47:44 +03:00

20 lines
592 B
C++
Executable file

struct Interface : SNES::Interface {
string pathName;
bool loadCartridge(const string &foldername);
void loadMemory();
void saveMemory();
bool loadState(unsigned slot);
bool saveState(unsigned slot);
void videoRefresh(const uint32_t *data, bool hires, bool interlace, bool overscan);
void audioSample(int16_t lsample, int16_t rsample);
int16_t inputPoll(bool port, SNES::Input::Device device, unsigned index, unsigned id);
string path(SNES::Cartridge::Slot slot, const string &hint);
void message(const string &text);
Interface();
};
extern Interface *interface;