Permalink
Browse files

Fix VGA word mode

  • Loading branch information...
joncampbell123 committed Jun 23, 2018
1 parent da2a3ad commit c0386a8b1db9f2bad6b5dc7551453a0d1fd4bb60
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/hardware/vga_crtc.cpp
@@ -37,7 +37,7 @@ void VGA_CheckAddrShift() {
//Byte,word,dword mode
if ( IS_VGA_ARCH && crtc(underline_location) & 0x40 )
vga.config.addr_shift = 2u;
else if ( IS_EGA_ARCH && crtc( mode_control) & 0x40 )
else if ( IS_EGAVGA_ARCH && crtc( mode_control) & 0x40 )
vga.config.addr_shift = 0u;
else
vga.config.addr_shift = 1u;

0 comments on commit c0386a8

Please sign in to comment.