Revert "Attempt to fix frame timer on broken mainboards"
This reverts commit 5eb99b7d2f.
This commit is contained in:
@@ -262,11 +262,6 @@ U64 totalTime()
|
|||||||
// No wrapping, we're all okay.
|
// No wrapping, we're all okay.
|
||||||
gTotalTimeClockCount += current_clock_count - gLastTotalTimeClockCount;
|
gTotalTimeClockCount += current_clock_count - gLastTotalTimeClockCount;
|
||||||
}
|
}
|
||||||
else if((gLastTotalTimeClockCount - current_clock_count)<0xFFFF)
|
|
||||||
{
|
|
||||||
//clock is glitching and walking backwards - ignore it
|
|
||||||
gTotalTimeClockCount = gLastTotalTimeClockCount;
|
|
||||||
}
|
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// We've wrapped. Compensate correctly
|
// We've wrapped. Compensate correctly
|
||||||
|
|||||||
Reference in New Issue
Block a user