aboutsummaryrefslogtreecommitdiffstats
path: root/UefiMonitorTest
diff options
context:
space:
mode:
authorJoursoir <chat@joursoir.net>2022-05-09 12:11:49 +0300
committerJoursoir <chat@joursoir.net>2022-05-09 12:11:49 +0300
commit8e0653cc8de397230dda574945a81b9780c28ee9 (patch)
tree58bf8dd3c1066478e506b6aee01d67837470ae35 /UefiMonitorTest
parenteb2ff47df7b02ca72861e6b1f35fcf084e4614fb (diff)
downloadumt-8e0653cc8de397230dda574945a81b9780c28ee9.tar.gz
umt-8e0653cc8de397230dda574945a81b9780c28ee9.tar.bz2
umt-8e0653cc8de397230dda574945a81b9780c28ee9.zip
graphics: print the number of modes for debugging
Diffstat (limited to 'UefiMonitorTest')
-rw-r--r--UefiMonitorTest/Graphics.c4
1 files 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
));