mirror of https://github.com/snes9xgit/snes9x.git
Fix warning about operation order.
This commit is contained in:
parent
8db1c467ac
commit
1aeb1c8f3e
|
@ -34,10 +34,10 @@ class HermiteResampler : public Resampler
|
|||
a2 = mu3 - mu2;
|
||||
a3 = 3 * mu2 - (mu3 << 1);
|
||||
|
||||
return (a0 * b) +
|
||||
return ((a0 * b) +
|
||||
((a1 * m0) >> 15) +
|
||||
((a2 * m1) >> 15) +
|
||||
(a3 * c) >> 15;
|
||||
(a3 * c)) >> 15;
|
||||
}
|
||||
|
||||
public:
|
||||
|
|
Loading…
Reference in New Issue