Linux: Fixes a few things, Should Compile in Linux. Ran Crazy Taxi horribly

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@38 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Sonicadvance1
2008-07-21 01:27:13 +00:00
parent 36f8b9751a
commit c33cf08a2f
11 changed files with 36 additions and 14 deletions

View File

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