Fix host time step trigger skipping pulses at exact 0 pos
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
a62f0327b9
commit
f9841bb333
1 changed files with 3 additions and 1 deletions
|
@ -93,12 +93,14 @@ struct HostTime : TerminalModule {
|
|||
{
|
||||
if (d_isZero(tick))
|
||||
{
|
||||
pulseClock.trigger();
|
||||
pulseBeat.trigger();
|
||||
if (timeInfo.beat == 1)
|
||||
pulseBar.trigger();
|
||||
}
|
||||
|
||||
if (d_isZero(tickClock))
|
||||
pulseClock.trigger();
|
||||
|
||||
if (timeInfo.reset)
|
||||
{
|
||||
timeInfo.reset = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue