Fixed a small bug with the overlaid framerate: If the float fps in the infobar is 60.00, the overlay shows 60. If it is something like 60.04, it shows 61. If it is something like 59.13, it shows 60.

Also deleted Externals/wxWidgets/lib/vc_lib/msw/wx/msw/rcdefs.h, it must have been versioned at some point by accident, causing issue 706.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2567 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Marcus Wanners 2009-03-06 15:18:29 +00:00
parent 401d7d53e9
commit 3abe591195
2 changed files with 1 additions and 45 deletions

View File

@ -1,44 +0,0 @@
#ifndef _WX_RCDEFS_H
#define _WX_RCDEFS_H
#define WX_MSC_FULL_VER 150021022
#define WX_CPU_X86
#endif

View File

@ -1086,7 +1086,7 @@ void Renderer::SwapBuffers()
if (timeGetTime() - lasttime > 1000)
{
lasttime = timeGetTime();
s_fps = fpscount;
s_fps = (fpscount-1);
fpscount = 0;
}