Home
last modified time | relevance | path

Searched refs:videoCycles (Results 1 – 6 of 6) sorted by relevance

/dports/games/libretro-gambatte/gambatte-libretro-22abc24/libgambatte/src/video/
H A Dly_counter.cpp58 void LyCounter::reset(unsigned long videoCycles, unsigned long lastUpdate) { in reset() argument
59 ly_ = videoCycles / 456; in reset()
60 time_ = lastUpdate + ((456 - (videoCycles - ly_ * 456ul)) << (unsigned)isDoubleSpeed()); in reset()
H A Dly_counter.h44 void reset(unsigned long videoCycles, unsigned long lastUpdate);
H A Dppu.cpp1493 ss.ppu.videoCycles = lcdcEn(p_) ? p_.lyCounter.frameCycles(p_.now) : 0; in saveState()
1578 if (ss.ppu.videoCycles < 144 * 456UL && ss.ppu.xpos < 168) { in loadSpriteList()
1579 unsigned const ly = ss.ppu.videoCycles / 456; in loadSpriteList()
1610 long const videoCycles = std::min(ss.ppu.videoCycles, 70223UL); in loadState() local
1612 long const vcycs = videoCycles - ds * m2_ds_offset < 0 in loadState()
1613 ? videoCycles - ds * m2_ds_offset + 70224 in loadState()
1614 : videoCycles - ds * m2_ds_offset; in loadState()
1620 p_.lyCounter.reset(std::min(ss.ppu.videoCycles, 70223ul), ss.cpu.cycleCounter); in loadState()
1644 if (m3loopState && videoCycles < 144 * 456L && p_.xpos < 168 in loadState()
1685 p_.lyCounter.reset(videoCycles, p_.now); in resetCc()
[all …]
/dports/games/libretro-gambatte/gambatte-libretro-22abc24/libgambatte/src/
H A Dsavestate.h98 unsigned long videoCycles; member
H A Dinitstate.cpp1250 state.ppu.videoCycles = cgb ? 144*456ul + 164 : 153*456ul + 396; in setInitState()
H A Dstatesaver.cpp356 { static const char label[] = { v,c,y,c,l,e,s, NUL }; ADD(ppu.videoCycles); } in SaverList()