From f928277430b1fbec64ea7cc2ea5831a2c6b1cce6 Mon Sep 17 00:00:00 2001 From: Stephen Anthony Date: Wed, 2 Aug 2017 16:16:05 -0230 Subject: [PATCH] Updated Visual Studio project for recent refactoring. Fixes a few minor warnings. --- src/emucore/AmigaMouse.hxx | 2 +- src/emucore/AtariMouse.hxx | 2 +- src/emucore/TrakBall.hxx | 2 +- src/windows/Stella.vcxproj | 1 + src/windows/Stella.vcxproj.filters | 3 +++ 5 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/emucore/AmigaMouse.hxx b/src/emucore/AmigaMouse.hxx index f36b67eb3..7ed9d1aca 100644 --- a/src/emucore/AmigaMouse.hxx +++ b/src/emucore/AmigaMouse.hxx @@ -44,7 +44,7 @@ class AmigaMouse : public PointingDevice return ourTableH[countH] | ourTableV[countV]; } - static constexpr float trackballSensitivity = 0.8; + static constexpr float trackballSensitivity = 0.8f; }; #endif // AMIGAMOUSE_HXX diff --git a/src/emucore/AtariMouse.hxx b/src/emucore/AtariMouse.hxx index 3eb2fe0fe..255ecbb7b 100644 --- a/src/emucore/AtariMouse.hxx +++ b/src/emucore/AtariMouse.hxx @@ -44,7 +44,7 @@ class AtariMouse : public PointingDevice return ourTableH[countH] | ourTableV[countV]; } - static constexpr float trackballSensitivity = 0.8; + static constexpr float trackballSensitivity = 0.8f; }; #endif // ATARIMOUSE_HXX diff --git a/src/emucore/TrakBall.hxx b/src/emucore/TrakBall.hxx index 37f21158b..ef51b2361 100644 --- a/src/emucore/TrakBall.hxx +++ b/src/emucore/TrakBall.hxx @@ -45,7 +45,7 @@ class TrakBall : public PointingDevice } // 50% of Atari and Amiga mouse - static constexpr float trackballSensitivity = 0.4; + static constexpr float trackballSensitivity = 0.4f; }; #endif // TRAKBALL_HXX diff --git a/src/windows/Stella.vcxproj b/src/windows/Stella.vcxproj index 6e765c0ea..62db4cf14 100644 --- a/src/windows/Stella.vcxproj +++ b/src/windows/Stella.vcxproj @@ -312,6 +312,7 @@ + diff --git a/src/windows/Stella.vcxproj.filters b/src/windows/Stella.vcxproj.filters index 480b0c838..90f1d69b7 100644 --- a/src/windows/Stella.vcxproj.filters +++ b/src/windows/Stella.vcxproj.filters @@ -840,6 +840,9 @@ Source Files\gui + + Source Files\emucore +