mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-01-31 01:15:24 +01:00
pcsx2 gui: use git desribe as version name
Shorter than date and give all the useful info Require windows test close #1043
This commit is contained in:
@@ -360,13 +360,12 @@ MainEmuFrame::MainEmuFrame(wxWindow* parent, const wxString& title)
|
||||
else
|
||||
{
|
||||
// beta / development editions, which feature revision number and compile date.
|
||||
#ifndef DISABLE_BUILD_DATE
|
||||
wintitle.Printf( L"%s %d.%d.%d-%lld%s (git) %s", pxGetAppName().c_str(), PCSX2_VersionHi, PCSX2_VersionMid, PCSX2_VersionLo,
|
||||
SVN_REV, SVN_MODS ? L"m" : wxEmptyString, fromUTF8(__DATE__).c_str() );
|
||||
#else
|
||||
wintitle.Printf( L"%s %d.%d.%d-%lld%s (git)", pxGetAppName().c_str(), PCSX2_VersionHi, PCSX2_VersionMid, PCSX2_VersionLo,
|
||||
SVN_REV, SVN_MODS ? L"m" : wxEmptyString );
|
||||
#endif
|
||||
if (strlen(GIT_REV) > 5) {
|
||||
wintitle.Printf( L"%s %s", pxGetAppName().c_str(), GIT_REV);
|
||||
} else {
|
||||
wintitle.Printf( L"%s %d.%d.%d-%lld%s (git)", pxGetAppName().c_str(), PCSX2_VersionHi, PCSX2_VersionMid,
|
||||
PCSX2_VersionLo, SVN_REV, SVN_MODS ? L"m" : wxEmptyString );
|
||||
}
|
||||
}
|
||||
|
||||
SetTitle( wintitle );
|
||||
|
||||
Reference in New Issue
Block a user