Ilari Liusvaara b8d8ffb3bf Make the random seed controllable
- 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).
2011-11-11 19:01:59 +01:00

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;