Cleanup: Removed unused variable: g_bResetTiming

This commit is contained in:
michaelangel007 2014-07-17 19:52:56 -07:00
parent 8090dd3933
commit 9ded7f0926
4 changed files with 0 additions and 5 deletions

View File

@ -66,7 +66,6 @@ TCHAR g_sProgramDir[MAX_PATH] = TEXT(""); // Directory of where AppleWin exe
TCHAR g_sDebugDir [MAX_PATH] = TEXT(""); // TODO: Not currently used
TCHAR g_sScreenShotDir[MAX_PATH] = TEXT(""); // TODO: Not currently used
TCHAR g_sCurrentDir[MAX_PATH] = TEXT(""); // Also Starting Dir. Debugger uses this when load/save
bool g_bResetTiming = false; // Redundant
BOOL restart = 0;
DWORD g_dwSpeed = SPEED_NORMAL; // Affected by Config dialog's speed slider bar

View File

@ -30,7 +30,6 @@ void SetLoadedSaveStateFlag(const bool bFlag);
extern TCHAR g_sProgramDir[MAX_PATH];
extern TCHAR g_sCurrentDir[MAX_PATH];
extern bool g_bResetTiming;
extern BOOL restart;
extern DWORD g_dwSpeed;

View File

@ -721,7 +721,6 @@ Update_t CmdBenchmarkStop (int nArgs)
while ((extbench = GetTickCount()) != currtime)
; // intentional busy-waiting
KeybQueueKeypress(TEXT(' '),1);
g_bResetTiming = true;
return UPDATE_ALL; // 0;
}

View File

@ -1009,7 +1009,6 @@ LRESULT CALLBACK FrameWndProc (
DrawStatusArea((HDC)0,DRAW_TITLE);
if ((g_nAppMode != MODE_LOGO) && (g_nAppMode != MODE_DEBUG))
VideoRedrawScreen();
g_bResetTiming = true;
}
else if ((wparam == VK_SCROLL) && sg_PropertySheet.GetScrollLockToggle())
{
@ -1564,7 +1563,6 @@ static void ProcessButtonClick(int button, bool bFromButtonUI /*=false*/)
}
DrawStatusArea((HDC)0,DRAW_TITLE);
VideoRedrawScreen();
g_bResetTiming = true;
break;
case BTN_DRIVE1: