Updated Visual Studio project for recent refactoring.

Fixes a few minor warnings.
This commit is contained in:
Stephen Anthony 2017-08-02 16:16:05 -02:30
parent d22ed691b5
commit f928277430
5 changed files with 7 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -312,6 +312,7 @@
<ClCompile Include="..\emucore\EventJoyHandler.cxx" />
<ClCompile Include="..\emucore\FBSurface.cxx" />
<ClCompile Include="..\emucore\MindLink.cxx" />
<ClCompile Include="..\emucore\PointingDevice.cxx" />
<ClCompile Include="..\emucore\TIASurface.cxx" />
<ClCompile Include="..\emucore\tia\Background.cxx" />
<ClCompile Include="..\emucore\tia\Ball.cxx" />

View File

@ -840,6 +840,9 @@
<ClCompile Include="..\gui\ColorWidget.cxx">
<Filter>Source Files\gui</Filter>
</ClCompile>
<ClCompile Include="..\emucore\PointingDevice.cxx">
<Filter>Source Files\emucore</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\common\bspf.hxx">