mirror of
https://github.com/zoriya/ComSquare.git
synced 2026-05-31 17:33:07 +00:00
Tabs instead of spaces
This commit is contained in:
+12
-12
@@ -6,17 +6,17 @@
|
||||
|
||||
namespace ComSquare::APU::DSP
|
||||
{
|
||||
void DSP::timerTick()
|
||||
{
|
||||
if (!this->_timer.counter)
|
||||
this->_timer.counter = 0x7800;
|
||||
this->_timer.counter -= 1;
|
||||
}
|
||||
void DSP::timerTick()
|
||||
{
|
||||
if (!this->_timer.counter)
|
||||
this->_timer.counter = 0x7800;
|
||||
this->_timer.counter -= 1;
|
||||
}
|
||||
|
||||
bool DSP::timerPoll(uint32_t rate)
|
||||
{
|
||||
if (!rate)
|
||||
return false;
|
||||
return (this->_timer.counter + this->_counterOffset[rate]) % this->_rateModulus[rate] == 0;
|
||||
}
|
||||
bool DSP::timerPoll(uint32_t rate)
|
||||
{
|
||||
if (!rate)
|
||||
return false;
|
||||
return (this->_timer.counter + this->_counterOffset[rate]) % this->_rateModulus[rate] == 0;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user