MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / getTimerBaseValue

Method getTimerBaseValue

Source/Amiga/paula.hpp:116–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114 bool playing() const { return _playing; }
115 void setTimerBaseValue( uint32 ticksPerSecond ) { _timerBase = ticksPerSecond; }
116 uint32 getTimerBaseValue() { return _timerBase; }
117 void setSingleInterrupt(unsigned int sampleDelay) { assert(sampleDelay < _intFreq); _curInt = sampleDelay; }
118 void setSingleInterruptUnscaled(unsigned int timerDelay) {
119 setSingleInterrupt((unsigned int)(((double)timerDelay * getRate()) / _timerBase));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected