Updated VS project file for new MDM Widget class, and fixed a minor compile warning.

Bumped version # for a test release.

git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2982 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
stephena 2014-08-29 23:30:18 +00:00
parent ddafc3a650
commit f5c967d2ac
4 changed files with 10 additions and 2 deletions

View File

@ -22,7 +22,7 @@
#include <cstdlib>
#define STELLA_VERSION "4.1_pre2"
#define STELLA_VERSION "4.1_pre3"
#define STELLA_BUILD atoi("$Rev$" + 6)
#endif

View File

@ -118,7 +118,7 @@ void RomInfoWidget::parseProperties()
// Scale surface to available image area
const GUI::Rect& src = mySurface->srcRect();
float scale = BSPF_min(float(myAvail.w) / src.width(), float(myAvail.h) / src.height());
mySurface->setDstSize(src.width() * scale, src.height() * scale);
mySurface->setDstSize(uInt32(src.width() * scale), uInt32(src.height() * scale));
}
catch(const char* msg)
{

View File

@ -263,6 +263,7 @@
<ClCompile Include="..\debugger\gui\CartFAWidget.cxx" />
<ClCompile Include="..\debugger\gui\CartFEWidget.cxx" />
<ClCompile Include="..\debugger\gui\CartMCWidget.cxx" />
<ClCompile Include="..\debugger\gui\CartMDMWidget.cxx" />
<ClCompile Include="..\debugger\gui\CartRamWidget.cxx" />
<ClCompile Include="..\debugger\gui\CartSBWidget.cxx" />
<ClCompile Include="..\debugger\gui\CartUAWidget.cxx" />
@ -519,6 +520,7 @@
<ClInclude Include="..\debugger\gui\CartFAWidget.hxx" />
<ClInclude Include="..\debugger\gui\CartFEWidget.hxx" />
<ClInclude Include="..\debugger\gui\CartMCWidget.hxx" />
<ClInclude Include="..\debugger\gui\CartMDMWidget.hxx" />
<ClInclude Include="..\debugger\gui\CartRamWidget.hxx" />
<ClInclude Include="..\debugger\gui\CartSBWidget.hxx" />
<ClInclude Include="..\debugger\gui\CartUAWidget.hxx" />

View File

@ -774,6 +774,9 @@
<ClCompile Include="..\emucore\CartMDM.cxx">
<Filter>Source Files\emucore</Filter>
</ClCompile>
<ClCompile Include="..\debugger\gui\CartMDMWidget.cxx">
<Filter>Source Files\debugger</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\common\Array.hxx">
@ -1562,6 +1565,9 @@
<ClInclude Include="..\emucore\CartMDM.hxx">
<Filter>Header Files\emucore</Filter>
</ClInclude>
<ClInclude Include="..\debugger\gui\CartMDMWidget.hxx">
<Filter>Header Files\debugger</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<None Include="stella.ico">