mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-11 09:18:40 +12:00
When debugging, put the git revision in the title
Useful for bug reports, user-friendly version still used when building in release mode. A unix script for generating the git version is still needed.
This commit is contained in:
parent
cd3ad0b149
commit
d249bfef4d
4 changed files with 87 additions and 2 deletions
|
@ -2,6 +2,7 @@
|
|||
#include "MainFrame.h"
|
||||
#include "CompilerELF.h"
|
||||
|
||||
#include "git-version.h"
|
||||
#include "Emu/System.h"
|
||||
#include "Ini.h"
|
||||
#include "Emu/GS/sysutil_video.h"
|
||||
|
@ -34,7 +35,13 @@ MainFrame::MainFrame()
|
|||
: FrameBase(NULL, wxID_ANY, "", "MainFrame", wxSize(280, 180))
|
||||
, m_aui_mgr(this)
|
||||
{
|
||||
|
||||
#ifdef _DEBUG
|
||||
SetLabel(wxString::Format(_PRGNAME_ " git-" RPCS3_GIT_VERSION));
|
||||
#else
|
||||
SetLabel(wxString::Format(_PRGNAME_ " " _PRGVER_));
|
||||
#endif
|
||||
|
||||
wxMenuBar& menubar(*new wxMenuBar());
|
||||
|
||||
wxMenu& menu_boot(*new wxMenu());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue