Added a new variable for defining a 'release to public' build which replaces the automatic system we had before. The automatic system doesn't work well with planned updates.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5435 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
ramapcsx2 2012-10-18 20:49:53 +00:00
parent e7eb00469a
commit ec60ba2440
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 = 1;
static const int PCSX2_VersionLo = 0;
static const bool PCSX2_isReleaseVersion = 0;
class SysCoreThread;
class CpuInitializerSet;

View File

@ -350,19 +350,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 );