Browse code

[NCSF] Small typo (or rather non-removal) in the previous fix

Naram Qashat authored on 2020/07/06 23:59:19
Showing 1 changed files
... ...
@@ -520,7 +520,7 @@ void Channel::Update()
520 520
 		uint32_t counter = this->modCounter + (this->modSpeed << 6);
521 521
 		while (counter >= 0x8000)
522 522
 			counter -= 0x8000;
523
-		this->modCounter += counter;
523
+		this->modCounter = counter;
524 524
 	}
525 525
 
526 526
 	if (bTmrNeedUpdate)