Remove Overclock limit

This commit is contained in:
oddMLan 2024-07-01 21:28:22 -07:00
parent 0e0f0f7618
commit da3a6b5234
2 changed files with 2 additions and 20 deletions

View File

@ -363,10 +363,6 @@ void CEnhancement::SetOverClock(bool OverClock, uint32_t OverClockModifier)
{
m_OverClockModifier = 1;
}
if (m_OverClockModifier > 20)
{
m_OverClockModifier = 20;
}
}
void CEnhancement::CheckValid(void)

View File

@ -95,14 +95,7 @@ void CGameSettings::RefreshGameSettings()
{
m_CountPerOp = 2;
}
if (m_OverClockModifier < 1)
{
m_OverClockModifier = 1;
}
if (m_OverClockModifier > 20)
{
m_OverClockModifier = 20;
}
if (m_OverClockModifier < 1) { m_OverClockModifier = 1; }
m_DiskSeekTimingType = (DISK_SEEK_TYPE)g_Settings->LoadDword(Game_DiskSeekTiming);
m_UnalignedDMA = g_Settings->LoadBool(Game_UnalignedDMA);
RefreshSyncToAudio();
@ -133,14 +126,7 @@ void CGameSettings::SetOverClockModifier(bool EnhancmentOverClock, uint32_t Enha
{
m_OverClockModifier = g_Settings->LoadDword(Game_OverClockModifier);
}
if (m_OverClockModifier < 1)
{
m_OverClockModifier = 1;
}
if (m_OverClockModifier > 20)
{
m_OverClockModifier = 20;
}
if (m_OverClockModifier < 1) { m_OverClockModifier = 1; }
}
void CGameSettings::EnableDiskChanged(void *)