lsnes/snes/interface/interface.cpp
2013-10-27 10:53:59 +02:00

36 lines
584 B
C++
Executable file

#include <snes/snes.hpp>
namespace SNES {
Interface *interface = nullptr;
void Interface::videoRefresh(const uint32_t *data, bool hires, bool interlace, bool overscan) {
}
void Interface::audioSample(int16_t l_sample, int16_t r_sample) {
}
int16_t Interface::inputPoll(bool port, Input::Device device, unsigned index, unsigned id) {
return 0;
}
void Interface::message(const string &text) {
print(text, "\n");
}
time_t Interface::currentTime()
{
return time(0);
}
time_t Interface::randomSeed()
{
return time(0);
}
void Interface::notifyLatched()
{
//Nothing.
}
}