mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
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:
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user