diff options
author | Volker Ruppert <info@vruppert.de> | 2008-03-02 07:47:21 +0000 |
---|---|---|
committer | Volker Ruppert <info@vruppert.de> | 2008-03-02 07:47:21 +0000 |
commit | 1145221e6e4dd2080d0603bcacc2bca59513a7b1 (patch) | |
tree | 70bc8c933898d9adfc3057d187b41d9d8530c0a2 | |
parent | 2d879f524332153f258978b02ab987c8c8ec4a2b (diff) | |
download | qemu-vgabios-1145221e6e4dd2080d0603bcacc2bca59513a7b1.tar.gz |
- added debug message for unsupported VBE modes
-rw-r--r-- | vbe.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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); |