Fixed compilation warnings
This commit is contained in:
parent
5bb0f5c811
commit
66b618153a
2 changed files with 2 additions and 3 deletions
|
@ -2,7 +2,6 @@
|
|||
#include "DefaultVideoFilter.h"
|
||||
#include "EmulationSettings.h"
|
||||
#include <math.h>
|
||||
#define M_PI 3.14159265358979323846264f
|
||||
#include <algorithm>
|
||||
#include "PPU.h"
|
||||
#include "DebugHud.h"
|
||||
|
@ -19,7 +18,7 @@ void DefaultVideoFilter::InitConversionMatrix(double hueShift, double saturation
|
|||
_pictureSettings.Hue = hueShift;
|
||||
_pictureSettings.Saturation = saturationShift;
|
||||
|
||||
double hue = hueShift * M_PI;
|
||||
double hue = hueShift * 3.14159265358979323846264f;
|
||||
double sat = saturationShift + 1;
|
||||
|
||||
double baseValues[6] = { 0.956f, 0.621f, -0.272f, -0.647f, -1.105f, 1.702f };
|
||||
|
|
|
@ -50,7 +50,7 @@ protected:
|
|||
}
|
||||
}
|
||||
|
||||
void StreamState(bool saving)
|
||||
void StreamState(bool saving) override
|
||||
{
|
||||
BaseMapper::StreamState(saving);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue