From 1145221e6e4dd2080d0603bcacc2bca59513a7b1 Mon Sep 17 00:00:00 2001 From: Volker Ruppert Date: Sun, 2 Mar 2008 07:47:21 +0000 Subject: [PATCH] - added debug message for unsupported VBE modes --- vbe.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vbe.c b/vbe.c index cbe29d4..6173ca0 100644 --- a/vbe.c +++ b/vbe.c @@ -853,6 +853,10 @@ Bit16u *AX;Bit16u ES;Bit16u DI; write_word(ES, DI + cur_ptr, cur_info->mode); cur_mode++; cur_ptr+=2; + } else { +#ifdef DEBUG + printf("VBE mode %x (xres=%x / bpp=%02x) not supported by display\n", cur_info->mode,cur_info->info.XResolution,cur_info->info.BitsPerPixel); +#endif } cur_info++; } while (cur_info->mode != VBE_VESA_MODE_END_OF_LIST); -- 2.11.4.GIT