vesa: calculation of default-mode table entries

This commit is contained in:
Christian Helmuth 2015-08-17 14:28:02 +02:00
parent 26524edbf4
commit 47609dda40
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ namespace Vesa {
};
enum {
MODE_COUNT = sizeof(mode_table),
MODE_COUNT = sizeof(mode_table)/sizeof(*mode_table),
VESA_CTRL_OFFS = 0x100,
VESA_MODE_OFFS = 0x800,
};