diff options
author | Juan J. Martinez <jjm@usebox.net> | 2023-06-08 22:11:44 +0100 |
---|---|---|
committer | Juan J. Martinez <jjm@usebox.net> | 2023-06-08 22:11:44 +0100 |
commit | cb6d24b838632e1269a5e4bb4e83425061f5d853 (patch) | |
tree | fd58b5d7ceddb9bf0fd3f3058b71d53a03ebd32b /src/vga.h | |
parent | c5e314048afd1ba3f87204b0655af70f95ae7ab1 (diff) | |
download | gold-mine-run-cb6d24b838632e1269a5e4bb4e83425061f5d853.tar.gz gold-mine-run-cb6d24b838632e1269a5e4bb4e83425061f5d853.zip |
Detect the VGA card before setting mode 0x13
Diffstat (limited to 'src/vga.h')
-rw-r--r-- | src/vga.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -14,7 +14,7 @@ typedef struct { uint8_t open_framebuffer(); void close_framebuffer(); -void set_mode(uint8_t mode); +uint8_t set_mode(uint8_t mode); void wait_vsync(); /* the palette is expected to be 8 bit per color, and will be converted to VGA's 6 bit per color */ |