vesa: calculation of default-mode table entries
This commit is contained in:
parent
26524edbf4
commit
47609dda40
|
@ -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,
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue