mirror of https://github.com/PCSX2/pcsx2.git
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:
parent
1a5cf2eb9e
commit
f665c8255c
|
@ -18,6 +18,7 @@
|
||||||
static const int PCSX2_VersionHi = 1;
|
static const int PCSX2_VersionHi = 1;
|
||||||
static const int PCSX2_VersionMid = 0;
|
static const int PCSX2_VersionMid = 0;
|
||||||
static const int PCSX2_VersionLo = 0;
|
static const int PCSX2_VersionLo = 0;
|
||||||
|
static const bool PCSX2_isReleaseVersion = 0;
|
||||||
|
|
||||||
class SysCoreThread;
|
class SysCoreThread;
|
||||||
class CpuInitializerSet;
|
class CpuInitializerSet;
|
||||||
|
|
|
@ -349,19 +349,19 @@ MainEmuFrame::MainEmuFrame(wxWindow* parent, const wxString& title)
|
||||||
wxSize backsize( m_background.GetSize() );
|
wxSize backsize( m_background.GetSize() );
|
||||||
|
|
||||||
wxString wintitle;
|
wxString wintitle;
|
||||||
if( PCSX2_VersionLo & 1 )
|
if( PCSX2_isReleaseVersion )
|
||||||
{
|
{
|
||||||
// Odd versions: beta / development editions, which feature revision number and compile date.
|
// stable releases, with a simple title.
|
||||||
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.
|
|
||||||
wintitle.Printf( _("%s %d.%d.%d %s"), pxGetAppName().c_str(), PCSX2_VersionHi, PCSX2_VersionMid, PCSX2_VersionLo,
|
wintitle.Printf( _("%s %d.%d.%d %s"), pxGetAppName().c_str(), PCSX2_VersionHi, PCSX2_VersionMid, PCSX2_VersionLo,
|
||||||
SVN_MODS ? _("(modded)") : wxEmptyString
|
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 );
|
SetTitle( wintitle );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue