diff --git a/src/DebugInterface/CDebuggerApi.cpp b/src/DebugInterface/CDebuggerApi.cpp index ac0e17b..646b8d7 100644 --- a/src/DebugInterface/CDebuggerApi.cpp +++ b/src/DebugInterface/CDebuggerApi.cpp @@ -539,6 +539,11 @@ void CDebuggerApi::SetWarpSpeed(bool isWarpSpeed) debugInterface->SetSettingIsWarpSpeed(isWarpSpeed); } +bool CDebuggerApi::GetWarpSpeed() +{ + return debugInterface->GetSettingIsWarpSpeed(); +} + bool CDebuggerApi::KeyboardDown(u32 mtKeyCode) { return debugInterface->KeyboardDown(mtKeyCode); diff --git a/src/DebugInterface/CDebuggerApi.h b/src/DebugInterface/CDebuggerApi.h index ae7070b..21c429c 100644 --- a/src/DebugInterface/CDebuggerApi.h +++ b/src/DebugInterface/CDebuggerApi.h @@ -111,6 +111,7 @@ class CDebuggerApi // virtual void SetWarpSpeed(bool isWarpSpeed); + virtual bool GetWarpSpeed(); // input virtual bool KeyboardDown(u32 mtKeyCode);