Home
last modified time | relevance | path

Searched refs:nextMajorEvent (Results 1 – 4 of 4) sorted by relevance

/dports/games/libretro-gambatte/gambatte-libretro-22abc24/libgambatte/src/sound/
H A Dchannel2.cpp125 unsigned long const nextMajorEvent = std::min(nextEventUnit->counter(), endCycles); in update() local
128 while (dutyUnit_.counter() <= nextMajorEvent) { in update()
138 if (cycleCounter_ < nextMajorEvent) { in update()
141 buf += nextMajorEvent - cycleCounter_; in update()
142 cycleCounter_ = nextMajorEvent; in update()
145 if (nextEventUnit->counter() == nextMajorEvent) { in update()
H A Dchannel3.cpp152 unsigned long const nextMajorEvent = in update() local
159 while (waveCounter_ <= nextMajorEvent) { in update()
174 if (cycleCounter_ < nextMajorEvent) { in update()
177 buf += nextMajorEvent - cycleCounter_; in update()
178 cycleCounter_ = nextMajorEvent; in update()
181 if (lengthCounter_.counter() == nextMajorEvent) { in update()
H A Dchannel4.cpp225 unsigned long const nextMajorEvent = std::min(nextEventUnit_->counter(), endCycles); in update() local
228 while (lfsr_.counter() <= nextMajorEvent) { in update()
238 if (cycleCounter_ < nextMajorEvent) { in update()
241 buf += nextMajorEvent - cycleCounter_; in update()
242 cycleCounter_ = nextMajorEvent; in update()
245 if (nextEventUnit_->counter() == nextMajorEvent) { in update()
H A Dchannel1.cpp226 unsigned long const nextMajorEvent = std::min(nextEventUnit_->counter(), endCycles); in update() local
229 while (dutyUnit_.counter() <= nextMajorEvent) { in update()
239 if (cycleCounter_ < nextMajorEvent) { in update()
242 buf += nextMajorEvent - cycleCounter_; in update()
243 cycleCounter_ = nextMajorEvent; in update()
246 if (nextEventUnit_->counter() == nextMajorEvent) { in update()