Skip to content

Commit

Permalink
Small correction related to r4444.
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4466 ed541006-0bf7-43e9-8c4d-6fc63c346d47
  • Loading branch information
ripsaw8080 committed Sep 10, 2021
1 parent e3a3d64 commit febf28e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ints/int10.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,8 @@ static Bitu INT10_Handler(void) {
break;
case 0x0F: /* Get videomode */
reg_bh=real_readb(BIOSMEM_SEG,BIOSMEM_CURRENT_PAGE);
reg_al=real_readb(BIOSMEM_SEG,BIOSMEM_CURRENT_MODE)|(real_readb(BIOSMEM_SEG,BIOSMEM_VIDEO_CTL)&0x80);
reg_al=real_readb(BIOSMEM_SEG,BIOSMEM_CURRENT_MODE);
if (IS_EGAVGA_ARCH) reg_al|=real_readb(BIOSMEM_SEG,BIOSMEM_VIDEO_CTL)&0x80;
reg_ah=(Bit8u)real_readw(BIOSMEM_SEG,BIOSMEM_NB_COLS);
break;
case 0x10: /* Palette functions */
Expand Down

0 comments on commit febf28e

Please sign in to comment.