2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 12:24:56 +00:00

More windows build fixes

This commit is contained in:
Jack Andersen
2018-02-03 20:46:47 -10:00
parent fa44ab57e8
commit 97835607d9
21 changed files with 34 additions and 34 deletions

View File

@@ -239,11 +239,11 @@ void CNESEmulator::InitializeEmulator()
sprintf(window_title_pause, "%s (Pause)", window_title);
#if DEBUG_HZ
emuFrameStart = GetTickCount();
#endif
#if DEBUG_MAIN_CALLS
emuMainFrameStart = GetTickCount();
#endif
emuFrameStart = GetTickCount();
#endif
#if DEBUG_MAIN_CALLS
emuMainFrameStart = GetTickCount();
#endif
cpuCycleTimer = nesPAL ? 16 : 12;
//do full frame per update loop
ppuCycleTimer = nesPAL ? 5 : 4;
@@ -471,15 +471,15 @@ void CNESEmulator::NesEmuMainLoop(bool forceDraw)
fm2playUpdate();
#if DEBUG_HZ
emuTimesCalled++;
int end = GetTickCount();
emuTotalElapsed += end - emuFrameStart;
if(emuTotalElapsed >= 1000)
{
printf("\r%iHz ", emuTimesCalled);
emuTimesCalled = 0;
emuTotalElapsed = 0;
}
emuFrameStart = end;
int end = GetTickCount();
emuTotalElapsed += end - emuFrameStart;
if(emuTotalElapsed >= 1000)
{
printf("\r%iHz ", emuTimesCalled);
emuTimesCalled = 0;
emuTotalElapsed = 0;
}
emuFrameStart = end;
#endif
if(ppuDebugPauseFrame)
{

View File

@@ -9,7 +9,7 @@
namespace urde
{
class CFinalInput;
struct CFinalInput;
class IDvdRequest;
namespace MP1