1.0: Merged new release flag system.

git-svn-id: http://pcsx2.googlecode.com/svn/branches/1.0@5455 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
sudonim1@gmail.com 2012-11-14 18:51:12 +00:00
parent 1a5cf2eb9e
commit f665c8255c
2 changed files with 9 additions and 8 deletions

View File

@ -18,6 +18,7 @@
static const int PCSX2_VersionHi = 1;
static const int PCSX2_VersionMid = 0;
static const int PCSX2_VersionLo = 0;
static const bool PCSX2_isReleaseVersion = 0;
class SysCoreThread;
class CpuInitializerSet;

View File

@ -349,19 +349,19 @@ MainEmuFrame::MainEmuFrame(wxWindow* parent, const wxString& title)
wxSize backsize( m_background.GetSize() );
wxString wintitle;
if( PCSX2_VersionLo & 1 )
if( PCSX2_isReleaseVersion )
{
// Odd versions: beta / development editions, which feature revision number and compile date.
wintitle.Printf( _("%s %d.%d.%d.%d%s (svn) %s"), pxGetAppName().c_str(), PCSX2_VersionHi, PCSX2_VersionMid, PCSX2_VersionLo,
SVN_REV, SVN_MODS ? L"m" : wxEmptyString, fromUTF8(__DATE__).c_str() );
}
else
{
// evens: stable releases, with a simpler title.
// stable releases, with a simple title.
wintitle.Printf( _("%s %d.%d.%d %s"), pxGetAppName().c_str(), PCSX2_VersionHi, PCSX2_VersionMid, PCSX2_VersionLo,
SVN_MODS ? _("(modded)") : wxEmptyString
);
}
else
{
// beta / development editions, which feature revision number and compile date.
wintitle.Printf( _("%s %d.%d.%d.%d%s (svn) %s"), pxGetAppName().c_str(), PCSX2_VersionHi, PCSX2_VersionMid, PCSX2_VersionLo,
SVN_REV, SVN_MODS ? L"m" : wxEmptyString, fromUTF8(__DATE__).c_str() );
}
SetTitle( wintitle );