From 8e0653cc8de397230dda574945a81b9780c28ee9 Mon Sep 17 00:00:00 2001 From: Joursoir Date: Mon, 9 May 2022 12:11:49 +0300 Subject: graphics: print the number of modes for debugging --- UefiMonitorTest/Graphics.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/UefiMonitorTest/Graphics.c b/UefiMonitorTest/Graphics.c index 756f085..592f674 100644 --- a/UefiMonitorTest/Graphics.c +++ b/UefiMonitorTest/Graphics.c @@ -131,10 +131,10 @@ PrepareGraphicsInfo ( DEBUG (( DEBUG_INFO, "GOP information:\n" - "Mode: %d\n" + "Mode: %d/%d\n" "Framebuffer address, size: %x, %d\n" "Screen width x height: %d x %d\n", - Gop->Mode->Mode, + Gop->Mode->Mode, Gop->Mode->MaxMode, Gop->Mode->FrameBufferBase, Gop->Mode->FrameBufferSize, Gop->Mode->Info->HorizontalResolution, Gop->Mode->Info->VerticalResolution )); -- cgit v1.2.3-18-g5258