resync to scxreader.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@57 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
This commit is contained in:
parent
93c12bf0e2
commit
bb84c6d628
@ -54,7 +54,8 @@ public:
|
||||
void reset();
|
||||
|
||||
void schedule(const LyCounter &lyCounter, const unsigned cycleCounter) {
|
||||
setTime(lyCounter.nextLineCycle(84 + lyCounter.isDoubleSpeed() * 2, cycleCounter));
|
||||
// synced to scxReader.
|
||||
setTime(lyCounter.nextLineCycle(82 + lyCounter.isDoubleSpeed() * 3, cycleCounter));
|
||||
}
|
||||
|
||||
void setCgb(const bool cgb_in) {
|
||||
@ -62,7 +63,7 @@ public:
|
||||
}
|
||||
|
||||
void setDoubleSpeed(const bool dS) {
|
||||
timeDiff = dS ? 86 * 2 - 40 : (84 - 16);
|
||||
timeDiff = dS ? 85 * 2 - 40 : (82 - 16);
|
||||
}
|
||||
|
||||
const uint16_t * spriteMap() const {
|
||||
|
Loading…
x
Reference in New Issue
Block a user