diff --git a/project/SubWCRev.exe b/project/SubWCRev.exe new file mode 100644 index 00000000..0ebf02d9 Binary files /dev/null and b/project/SubWCRev.exe differ diff --git a/project/vc2008_mfc/VBA2008.vcproj b/project/vc2008_mfc/VBA2008.vcproj index 9083e8d5..4aa872cd 100644 --- a/project/vc2008_mfc/VBA2008.vcproj +++ b/project/vc2008_mfc/VBA2008.vcproj @@ -30,7 +30,8 @@ > + + @@ -661,7 +663,7 @@ BOOL MainWnd::OnOptionsEmulatorShowSpeed(UINT nID) switch(nID) { case ID_OPTIONS_EMULATOR_SHOWSPEED_NONE: theApp.showSpeed = 0; - systemSetTitle("VisualBoyAdvance"); + systemSetTitle(VBA_NAME_AND_SUBVERSION); break; case ID_OPTIONS_EMULATOR_SHOWSPEED_PERCENTAGE: theApp.showSpeed = 1; diff --git a/src/win32/VBA.cpp b/src/win32/VBA.cpp index f372b13a..d4b7a845 100644 --- a/src/win32/VBA.cpp +++ b/src/win32/VBA.cpp @@ -30,6 +30,8 @@ #include "../gb/gbSound.h" #include "../common/SoundDriver.h" +#include "../version.h" + /* Link ---------------------*/ #include "../gba/GBALink.h" @@ -1060,9 +1062,9 @@ void systemShowSpeed(int speed) if(theApp.videoOption <= VIDEO_4X && theApp.showSpeed) { CString buffer; if(theApp.showSpeed == 1) - buffer.Format("VisualBoyAdvance-%3d%%", systemSpeed); + buffer.Format(VBA_NAME_AND_SUBVERSION "-%3d%%", systemSpeed); else - buffer.Format("VisualBoyAdvance-%3d%%(%d, %d fps)", systemSpeed, + buffer.Format(VBA_NAME_AND_SUBVERSION "-%3d%%(%d, %d fps)", systemSpeed, systemFrameSkip, theApp.showRenderedFrames); @@ -2026,7 +2028,7 @@ bool VBA::preInitialize() pWnd->CreateEx( styleEx, wndClass, - _T("VisualBoyAdvance"), + _T(VBA_NAME_AND_SUBVERSION), style, x, y, winSizeX, winSizeY, diff --git a/src/win32/VBA.rc b/src/win32/VBA.rc index f4367b47..93536017 100644 --- a/src/win32/VBA.rc +++ b/src/win32/VBA.rc @@ -207,7 +207,7 @@ BEGIN ICON IDI_MAINICON,IDC_STATIC,6,6,20,20 CTEXT "VisualBoyAdvance Emulator",IDC_STATIC,36,6,138,8 CTEXT "Copyright © 2008 VBA-M development team",IDC_STATIC,6,48,168,8 - CTEXT "http://vba-m.ngemu.com",IDC_URL,7,138,168,8 + CTEXT "http://vba-m.com",IDC_URL,7,138,168,8 RTEXT "Version:",IDC_STATIC,36,18,54,8 LTEXT "",IDC_VERSION,96,18,78,8,SS_NOPREFIX GROUPBOX "VBA-M dev team:",IDC_STATIC,7,65,90,66 @@ -1586,7 +1586,7 @@ BEGIN BLOCK "040904b0" BEGIN VALUE "Comments", "VBA-M comes with NO WARRANTY. Use it at your own risk." - VALUE "CompanyName", "http://vba-m.ngemu.com/" + VALUE "CompanyName", "http://vba-m.com/" VALUE "FileDescription", "GB/C/A emulator for Windows" VALUE "FileVersion", "1, 8, 0, 0" VALUE "InternalName", "VBA-M"