Skip to content

Commit

Permalink
New version 2024.4.21 .
Browse files Browse the repository at this point in the history
Fix format
  • Loading branch information
MatthiasWM committed Feb 10, 2024
1 parent 3ed195c commit 6c20e04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Emulator/TInterruptManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -752,7 +752,7 @@ TInterruptManager::GetTimeInTicks(void)
found = QueryPerformanceFrequency(&f);
// 24000000 on Windows X11 ARM64 (24MHz)
// Ticks are running at 3.6864MHz
//
//
if (found)
{
if (f.QuadPart == 0)
Expand All @@ -765,7 +765,7 @@ TInterruptManager::GetTimeInTicks(void)
{
LARGE_INTEGER f;
QueryPerformanceCounter(&f);
double ticks_d = ((double)f.QuadPart) * mult;
double ticks_d = ((double) f.QuadPart) * mult;
if (ticks_d > 4294967295.0) // Max Value for KUInt32
ticks_d = fmod(ticks_d, 4294967295.0);
KUInt32 ticks = static_cast<KUInt32>(ticks_d);
Expand Down

0 comments on commit 6c20e04

Please sign in to comment.