Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
alexbevi
GitHub Repository: alexbevi/BizHawk
Path: blob/master/libgambatte/src/video/next_m0_time.h
2 views
1
#ifndef NEXT_M0_TIME_H_
2
#define NEXT_M0_TIME_H_
3
4
#include "newstate.h"
5
6
namespace gambatte {
7
8
class NextM0Time {
9
unsigned predictedNextM0Time_;
10
11
public:
12
NextM0Time() : predictedNextM0Time_(0) {}
13
void predictNextM0Time(const class PPU &v);
14
void invalidatePredictedNextM0Time() { predictedNextM0Time_ = 0; }
15
unsigned predictedNextM0Time() const { return predictedNextM0Time_; }
16
17
template<bool isReader>void SyncState(NewState *ns);
18
};
19
20
}
21
22
#endif
23
24