playing with Over clocking

This commit is contained in:
zilmar 2017-06-15 05:07:18 +10:00
parent bfbc70a88a
commit 7270ac5463
1 changed files with 2 additions and 1 deletions

View File

@ -44,6 +44,7 @@ void CSystemTimer::Reset()
void CSystemTimer::SetTimer(TimerType Type, uint32_t Cycles, bool bRelative)
{
Cycles *= 4;
if (Type >= MaxTimer || Type == UnknownTimer)
{
g_Notify->BreakPoint(__FILE__, __LINE__);
@ -90,7 +91,7 @@ uint32_t CSystemTimer::GetTimer(TimerType Type)
{
return 0x7FFFFFFF;
}
return (uint32_t)CyclesToTimer;
return (uint32_t)(CyclesToTimer / 4);
}
void CSystemTimer::StopTimer(TimerType Type)