From b87f8bffd364c15f6e22c7323a0d377d78a9abe2 Mon Sep 17 00:00:00 2001 From: Scrut1ny <53458032+Scrut1ny@users.noreply.github.com> Date: Mon, 26 Jan 2026 02:18:03 +0000 Subject: [PATCH] Add debug logging for missing PIT/AT timer Log a debug message if the timer is not found. --- src/vmaware.hpp | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/vmaware.hpp b/src/vmaware.hpp index f8d0d5d..61d8f75 100644 --- a/src/vmaware.hpp +++ b/src/vmaware.hpp @@ -11191,9 +11191,14 @@ struct VM { if (found) break; } - free(buffer); - SetupDiDestroyDeviceInfoList(devs); - return !found; + free(buffer); + SetupDiDestroyDeviceInfoList(devs); + + if (!found) { + debug("CLOCK: PIT/AT (PNP0100) timer not found"); + } + + return !found; } // ADD NEW TECHNIQUE FUNCTION HERE #endif