Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
alexbevi
GitHub Repository: alexbevi/BizHawk
Path: blob/master/libsnes/bsnes/snes/interface/interface.cpp
2 views
1
#include <snes/snes.hpp>
2
3
namespace SNES {
4
5
Interface::Interface()
6
: wanttrace(false)
7
{
8
}
9
10
void Interface::videoRefresh(const uint32_t *data, bool hires, bool interlace, bool overscan) {
11
}
12
13
void Interface::audioSample(int16_t l_sample, int16_t r_sample) {
14
}
15
16
int16_t Interface::inputPoll(bool port, Input::Device device, unsigned index, unsigned id) {
17
return 0;
18
}
19
20
void Interface::inputNotify(int index) {
21
}
22
23
void Interface::message(const string &text) {
24
print(text, "\n");
25
}
26
27
time_t Interface::currentTime()
28
{
29
return time(0);
30
}
31
32
time_t Interface::randomSeed()
33
{
34
return time(0);
35
}
36
37
int Interface::getBackdropColor()
38
{
39
return -1;
40
}
41
42
void Interface::cpuTrace(const char *msg) {
43
}
44
45
}
46
47