diff --git a/app/src/main/cpp/skyline/gpu/presentation_engine.cpp b/app/src/main/cpp/skyline/gpu/presentation_engine.cpp index ff2991d9..68a9ab22 100644 --- a/app/src/main/cpp/skyline/gpu/presentation_engine.cpp +++ b/app/src/main/cpp/skyline/gpu/presentation_engine.cpp @@ -161,7 +161,7 @@ namespace skyline::gpu { auto endTime = std::chrono::high_resolution_clock::now(); auto frameDuration = std::chrono::duration_cast(endTime - startTime); - const auto frameTimeThreshold = 16ms; // 16ms for 60 FPS + const auto frameTimeThreshold = std::chrono::milliseconds(16); // 16ms for 60 FPS if (frameDuration > frameTimeThreshold) { LOGW("Frame skipped due to long processing time: {}ms", frameDuration.count());