frm: use fps for motion rate

This commit is contained in:
somewhatlurker
2019-09-14 14:42:19 +10:00
parent 0539fc18bb
commit fd07551c3e
3 changed files with 5 additions and 5 deletions
@@ -13,8 +13,8 @@ namespace TLAC::Components
{
std::wstring_convert<std::codecvt_utf8_utf16<wchar_t>> converter;
std::wstring configPath = converter.from_bytes((TLAC::framework::GetModuleDirectory() + "/config.ini").c_str());
float nMotionRate = GetPrivateProfileIntW(L"graphics", L"frm.motion.rate", 500, configPath.c_str());
motionSpeedMultiplier = nMotionRate / 100.0f;
float nMotionRate = GetPrivateProfileIntW(L"graphics", L"frm.motion.rate", 300, configPath.c_str());
motionSpeedMultiplier = nMotionRate / 60.0f;
}
FrameRateManager::~FrameRateManager()