Skip to content

Commit

Permalink
Revert commit a1b4968 (proper fix needs deeper investigation)
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosefr authored and schellingb committed Nov 26, 2024
1 parent af4645a commit fe6c41b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/hardware/vga_draw.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1539,19 +1539,15 @@ void VGA_SetupDrawing(Bitu /*val*/) {
}
vga.draw.vblank_skip = vblank_skip;

#ifndef C_DBP_LIBRETRO //DBP: Removed if condition with fix added below
if (!(IS_VGA_ARCH && (svgaCard==SVGA_None) && (vga.mode==M_EGA || vga.mode==M_VGA))) {
#endif
//Only check for extra double height in vga modes
//(line multiplying by address_line_total)
if (!doubleheight && (vga.mode<M_TEXT) && !(vga.draw.address_line_total & 1)) {
vga.draw.address_line_total/=2;
doubleheight=true;
height/=2;
}
#ifndef C_DBP_LIBRETRO
}
#endif

#ifdef C_DBP_LIBRETRO
//DBP: Standards prior to VGA (e.g. CGA, EGA) don't do double-scanning
Expand Down

0 comments on commit fe6c41b

Please sign in to comment.