From 405f59eafc7dd090f7ac09882c376436e7fa8bc0 Mon Sep 17 00:00:00 2001 From: theboy181 Date: Thu, 23 Apr 2015 22:43:01 -0700 Subject: [PATCH] Fix Speeeling --- Source/Project64/N64 System/N64 Class.h | 4 ++-- Source/Project64/N64 System/Speed Limitor Class.cpp | 4 ++-- Source/Project64/N64 System/Speed Limitor Class.h | 4 ++-- Source/Project64/User Interface/Main Menu Class.cpp | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Source/Project64/N64 System/N64 Class.h b/Source/Project64/N64 System/N64 Class.h index aacd5d114..5ea2d56fa 100644 --- a/Source/Project64/N64 System/N64 Class.h +++ b/Source/Project64/N64 System/N64 Class.h @@ -54,8 +54,8 @@ public: void StartEmulation ( bool NewThread ); void SyncToAudio ( void ); bool IsDialogMsg ( MSG * msg ); - void IncreaseSpeed ( void ) { m_Limitor.IncreaeSpeed(); } - void DecreaeSpeed ( void ) { m_Limitor.DecreaeSpeed(); } + void IncreaseSpeed ( void ) { m_Limitor.IncreaseSpeed(); } + void DecreaseSpeed ( void ) { m_Limitor.DecreaseSpeed(); } void Reset ( bool bInitReg, bool ClearMenory ); void GameReset ( void ); void PluginReset ( void ); diff --git a/Source/Project64/N64 System/Speed Limitor Class.cpp b/Source/Project64/N64 System/Speed Limitor Class.cpp index 33f6bced0..ad1e86f86 100644 --- a/Source/Project64/N64 System/Speed Limitor Class.cpp +++ b/Source/Project64/N64 System/Speed Limitor Class.cpp @@ -73,7 +73,7 @@ bool CSpeedLimitor::Timer_Process (DWORD * FrameRate ) { } } -void CSpeedLimitor::IncreaeSpeed ( void ) +void CSpeedLimitor::IncreaseSpeed ( void ) { if (m_Speed >= 60) { @@ -91,7 +91,7 @@ void CSpeedLimitor::IncreaeSpeed ( void ) FixSpeedRatio(); } -void CSpeedLimitor::DecreaeSpeed ( void ) +void CSpeedLimitor::DecreaseSpeed ( void ) { if (m_Speed > 60) { diff --git a/Source/Project64/N64 System/Speed Limitor Class.h b/Source/Project64/N64 System/Speed Limitor Class.h index 285a5e850..d63d21620 100644 --- a/Source/Project64/N64 System/Speed Limitor Class.h +++ b/Source/Project64/N64 System/Speed Limitor Class.h @@ -19,8 +19,8 @@ public: void SetHertz ( const DWORD Hertz ); bool Timer_Process ( DWORD * const FrameRate ); - void IncreaeSpeed ( void ); - void DecreaeSpeed ( void ); + void IncreaseSpeed ( void ); + void DecreaseSpeed ( void ); private: CSpeedLimitor(const CSpeedLimitor&); // Disable copy constructor diff --git a/Source/Project64/User Interface/Main Menu Class.cpp b/Source/Project64/User Interface/Main Menu Class.cpp index 04adca6b0..ddbc44ce0 100644 --- a/Source/Project64/User Interface/Main Menu Class.cpp +++ b/Source/Project64/User Interface/Main Menu Class.cpp @@ -237,7 +237,7 @@ bool CMainMenu::ProcessMessage(HWND hWnd, DWORD /*FromAccelerator*/, DWORD MenuI g_BaseSystem->IncreaseSpeed(); break; case ID_OPTIONS_DECREASE_SPEED: - g_BaseSystem->DecreaeSpeed(); + g_BaseSystem->DecreaseSpeed(); break; case ID_OPTIONS_FULLSCREEN: g_BaseSystem->ExternalEvent(SysEvent_ChangingFullScreen);