Show SVN revision in plugin title bars too.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@36 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
hrydgard
2008-07-20 15:36:18 +00:00
parent 925e94dc7a
commit 4175db3aa3
4 changed files with 11 additions and 4 deletions

View File

@ -16,6 +16,7 @@
// http://code.google.com/p/dolphin-emu/
#include "Globals.h"
#include "svnrev.h"
#ifdef _WIN32
#include "EmuWindow.h"
#endif
@ -81,7 +82,10 @@ BOOL Callback_PeekMessages()
void UpdateFPSDisplay(const char *text)
{
OpenGL_SetWindowText(text);
char temp[512];
sprintf(temp, "SVN R%i: %s", SVN_REV, text);
SetWindowText(EmuWindow::GetWnd(), temp);
OpenGL_SetWindowText(temp);
}