Path: blob/master/libsnes/bsnes/snes/interface/interface.cpp
2 views
#include <snes/snes.hpp>12namespace SNES {34Interface::Interface()5: wanttrace(false)6{7}89void Interface::videoRefresh(const uint32_t *data, bool hires, bool interlace, bool overscan) {10}1112void Interface::audioSample(int16_t l_sample, int16_t r_sample) {13}1415int16_t Interface::inputPoll(bool port, Input::Device device, unsigned index, unsigned id) {16return 0;17}1819void Interface::inputNotify(int index) {20}2122void Interface::message(const string &text) {23print(text, "\n");24}2526time_t Interface::currentTime()27{28return time(0);29}3031time_t Interface::randomSeed()32{33return time(0);34}3536int Interface::getBackdropColor()37{38return -1;39}4041void Interface::cpuTrace(const char *msg) {42}4344}454647