From f5c967d2ac36918d801278c9a13ad334dac38d38 Mon Sep 17 00:00:00 2001 From: stephena Date: Fri, 29 Aug 2014 23:30:18 +0000 Subject: [PATCH] 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 --- src/common/Version.hxx | 2 +- src/gui/RomInfoWidget.cxx | 2 +- src/windows/Stella.vcxproj | 2 ++ src/windows/Stella.vcxproj.filters | 6 ++++++ 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/common/Version.hxx b/src/common/Version.hxx index 851192052..a4b96953b 100644 --- a/src/common/Version.hxx +++ b/src/common/Version.hxx @@ -22,7 +22,7 @@ #include -#define STELLA_VERSION "4.1_pre2" +#define STELLA_VERSION "4.1_pre3" #define STELLA_BUILD atoi("$Rev$" + 6) #endif diff --git a/src/gui/RomInfoWidget.cxx b/src/gui/RomInfoWidget.cxx index af6f52076..70573b9ca 100644 --- a/src/gui/RomInfoWidget.cxx +++ b/src/gui/RomInfoWidget.cxx @@ -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) { diff --git a/src/windows/Stella.vcxproj b/src/windows/Stella.vcxproj index 6aa902085..277142d02 100644 --- a/src/windows/Stella.vcxproj +++ b/src/windows/Stella.vcxproj @@ -263,6 +263,7 @@ + @@ -519,6 +520,7 @@ + diff --git a/src/windows/Stella.vcxproj.filters b/src/windows/Stella.vcxproj.filters index b4b65104d..a6ce7e3ee 100644 --- a/src/windows/Stella.vcxproj.filters +++ b/src/windows/Stella.vcxproj.filters @@ -774,6 +774,9 @@ Source Files\emucore + + Source Files\debugger + @@ -1562,6 +1565,9 @@ Header Files\emucore + + Header Files\debugger +