diff --git a/Core/DefaultVideoFilter.cpp b/Core/DefaultVideoFilter.cpp index 751d7538..f5e73f03 100644 --- a/Core/DefaultVideoFilter.cpp +++ b/Core/DefaultVideoFilter.cpp @@ -2,7 +2,6 @@ #include "DefaultVideoFilter.h" #include "EmulationSettings.h" #include -#define M_PI 3.14159265358979323846264f #include #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 }; diff --git a/Core/UnRom512.h b/Core/UnRom512.h index b342e9d6..e900c2fb 100644 --- a/Core/UnRom512.h +++ b/Core/UnRom512.h @@ -50,7 +50,7 @@ protected: } } - void StreamState(bool saving) + void StreamState(bool saving) override { BaseMapper::StreamState(saving);