Searched refs:isDoubleSpeed (Results 1 – 9 of 9) sorted by relevance
/dports/games/libretro-gambatte/gambatte-libretro-22abc24/libgambatte/src/ |
H A D | video.cpp | 269 || cc + isDoubleSpeed() - ppu_.cgb() + 2 >= m0TimeOfCurrentLine(cc); in vramAccessible() 278 || ppu_.lyCounter().lineCycles(cc) < 80U + isDoubleSpeed() in cgbpAccessible() 279 || cc >= m0TimeOfCurrentLine(cc) + 3 - isDoubleSpeed(); in cgbpAccessible() 346 update(cycleCounter + isDoubleSpeed() + 1); in wxChange() 368 update(cycleCounter + ppu_.cgb() + isDoubleSpeed()); in scxChange() 374 update(cycleCounter + ppu_.cgb() + isDoubleSpeed()); in scyChange() 440 update(cc + isDoubleSpeed() + 1); in lcdcChange() 441 ppu_.setLcdc(data, cc + isDoubleSpeed() + 1); in lcdcChange() 473 unsigned is_doublespeed = (unsigned)lyCounter.isDoubleSpeed(); in getLycCmpLy() 596 unsigned is_doublespeed = (unsigned)isDoubleSpeed(); in lycRegChange() [all …]
|
H A D | gambatte-memory.cpp | 583 psg_.generateSamples(cc, isDoubleSpeed()); in nontrivial_ff_read() 731 psg_.generateSamples(cc, isDoubleSpeed()); in nontrivial_ff_write() 743 psg_.generateSamples(cc, isDoubleSpeed()); in nontrivial_ff_write() 751 psg_.generateSamples(cc, isDoubleSpeed()); in nontrivial_ff_write() 758 psg_.generateSamples(cc, isDoubleSpeed()); in nontrivial_ff_write() 765 psg_.generateSamples(cc, isDoubleSpeed()); in nontrivial_ff_write() 777 psg_.generateSamples(cc, isDoubleSpeed()); in nontrivial_ff_write() 785 psg_.generateSamples(cc, isDoubleSpeed()); in nontrivial_ff_write() 792 psg_.generateSamples(cc, isDoubleSpeed()); in nontrivial_ff_write() 799 psg_.generateSamples(cc, isDoubleSpeed()); in nontrivial_ff_write() [all …]
|
H A D | gambatte-memory.h | 82 unsigned is_doublespeed = (unsigned)isDoubleSpeed(); in cyclesSinceBlit() 178 bool isDoubleSpeed() const { return lcd_.isDoubleSpeed(); } in isDoubleSpeed() function
|
H A D | video.h | 129 if (isDoubleSpeed()) { in getLyReg() 154 bool isDoubleSpeed() const { return ppu_.lyCounter().isDoubleSpeed(); } in isDoubleSpeed() function
|
/dports/games/libretro-gambatte/gambatte-libretro-22abc24/libgambatte/src/video/ |
H A D | ly_counter.h | 30 bool isDoubleSpeed() const { return ds_; } in isDoubleSpeed() function 37 return 456u - ((time_ - cc) >> (unsigned)isDoubleSpeed()); in lineCycles()
|
H A D | sprite_mapper.cpp | 69 unsigned lc = lyCounter.lineCycles(cc) + 3 - lyCounter.isDoubleSpeed() * 3u; in toPosCycles() 82 unsigned is_doublespeed = (unsigned)lyCounter_.isDoubleSpeed(); in update() 141 unsigned is_doublespeed = (unsigned)lyCounter_.isDoubleSpeed(); in enableDisplay()
|
H A D | lyc_irq.cpp | 53 if (time_ - cc > 8 || (timeSrc != time_ && time_ - cc > 4U - lyCounter.isDoubleSpeed() * 4U)) in regChange() 56 if (time_ - cc > 4U - lyCounter.isDoubleSpeed() * 4U) in regChange()
|
H A D | ly_counter.cpp | 60 time_ = lastUpdate + ((456 - (videoCycles - ly_ * 456ul)) << (unsigned)isDoubleSpeed()); in reset()
|
H A D | ppu.cpp | 823 unsigned is_doublespeed = (unsigned)p.lyCounter.isDoubleSpeed(); in nextM2Time() 834 unsigned is_doublespeed = (unsigned)p.lyCounter.isDoubleSpeed(); in xpos168() 1154 unsigned is_doublespeed = (unsigned)p.lyCounter.isDoubleSpeed(); in predictCyclesUntilXposNextLine() 1691 unsigned is_doublespeed = (unsigned)p_.lyCounter.isDoubleSpeed(); in speedChange() 1709 …CallPtr->predictCyclesUntilXpos_f(p_, xpos, -p_.cycles) << (unsigned)p_.lyCounter.isDoubleSpeed()); in predictedNextXposTime() 1721 p_.cycles = -int(m3StartLineCycle(p_.cgb) + m2_ds_offset * p_.lyCounter.isDoubleSpeed()); in setLcdc() 1743 unsigned is_doublespeed = (unsigned)p_.lyCounter.isDoubleSpeed(); in update()
|