mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
Change the modified parameter in the Clamp function to be a pointer.
Makes it easier to identify the one being modified.
This commit is contained in:
@ -123,7 +123,7 @@ float* design_fir(unsigned int *n, float* fc, float opt)
|
||||
|
||||
// Sanity check
|
||||
if(*n==0) return NULL;
|
||||
MathUtil::Clamp(fc[0],float(0.001),float(1));
|
||||
MathUtil::Clamp(&fc[0],float(0.001),float(1));
|
||||
|
||||
float *w=(float*)calloc(sizeof(float),*n);
|
||||
|
||||
|
Reference in New Issue
Block a user