mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Minor warning fix.
This commit is contained in:
parent
0264422b8d
commit
723a2c98af
1 changed files with 1 additions and 1 deletions
|
@ -228,7 +228,7 @@ void SasReverb::ProcessReverb(int16_t *output, const int16_t *input, size_t inpu
|
|||
// This runs at 22khz.
|
||||
// Very unoptimized, straight from the description. Can probably be reformulated into something way more efficient.
|
||||
// Or we could actually template the whole thing with the parameters as template arguments, as the presets are fixed.
|
||||
for (int i = 0; i < inputSize; i++) {
|
||||
for (size_t i = 0; i < inputSize; i++) {
|
||||
// Dividing by two here is an incorrect hack. Some multiplication factor is needed to prevent the reverb from getting too loud, though.
|
||||
int16_t LeftInput = input[i * 2] >> 1;
|
||||
int16_t RightInput = input[i * 2 + 1] >> 1;
|
||||
|
|
Loading…
Add table
Reference in a new issue