mirror of
https://github.com/libretro/bsnes-libretro-cplusplus98.git
synced 2025-04-07 12:41:32 +00:00

- This allows eliminating random seed differences from savestates (may be useful for some forms of sync stability testing). - Would also allow (re)recording with randomization enabled, as the seed can be set portably).
13 lines
482 B
C++
13 lines
482 B
C++
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::e device, unsigned index, unsigned id);
|
|
|
|
virtual string path(Cartridge::Slot::e slot, const string &hint) = 0;
|
|
virtual void message(const string &text);
|
|
virtual time_t currentTime();
|
|
virtual time_t randomSeed();
|
|
};
|
|
|
|
extern Interface *interface;
|