Attempt at auto update SVN revision in title bar - let's see if it works for everyone, sorry Sonic, you'll have to find a linux solution (see svnrev_template.h). Also adds some smash bros cheats.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@34 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
hrydgard
2008-07-20 15:12:12 +00:00
parent 7765b3f556
commit eaaea3da94
13 changed files with 159 additions and 9 deletions

View File

@ -18,6 +18,7 @@
#include <vector>
#include <string>
#include "svnrev.h"
#include "CPUDetect.h"
#include "Globals.h"
#include "Common.h"
@ -86,8 +87,12 @@ bool DolphinApp::OnInit()
SConfig::GetInstance().LoadSettings();
wxInitAllImageHandlers();
// Create the main frame window
main_frame = new CFrame((wxFrame*) NULL, wxID_ANY,
_T("Dolphin"),
#ifdef _DEBUG
const char *title = "Dolphin Debug SVN R " SVN_REV_STR;
#else
const char *title = "Dolphin SVN R " SVN_REV_STR;
#endif
main_frame = new CFrame((wxFrame*) NULL, wxID_ANY, title,
wxPoint(100, 100), wxSize(800, 600));
// create debugger