mirror of
https://github.com/rodamaral/lsnes.git
synced 2025-04-02 10:42:15 -04:00
21 lines
528 B
C++
Executable file
21 lines
528 B
C++
Executable file
struct InterfaceNES : InterfaceCore, NES::Interface {
|
|
void initialize();
|
|
void setController(bool port, unsigned device);
|
|
|
|
bool cartridgeLoaded();
|
|
bool loadCartridge(const string &filename);
|
|
void unloadCartridge();
|
|
|
|
void power();
|
|
void reset();
|
|
void run();
|
|
|
|
serializer serialize();
|
|
bool unserialize(serializer&);
|
|
|
|
void setCheats(const lstring &list = lstring{});
|
|
|
|
void videoRefresh(const uint16_t *data);
|
|
void audioSample(int16_t sample);
|
|
int16_t inputPoll(bool port, unsigned device, unsigned id);
|
|
};
|