]> 4ch.mooo.com Git - 16.git/commitdiff
failed fontgfxtest.exe
authorsparky4 <sparky4@cock.li>
Mon, 18 Apr 2016 00:31:18 +0000 (19:31 -0500)
committersparky4 <sparky4@cock.li>
Mon, 18 Apr 2016 00:31:18 +0000 (19:31 -0500)
src/lib/modex16.c

index 09670a1815da92241bb863137567a77c890bce3a..6a4fbe1c5f819bfa01246b98a5d9438435143ad3 100755 (executable)
@@ -116,8 +116,9 @@ void modexEnter(sword vq, boolean cmem, global_game_variables_t *gv)
                        cm.vsync_neg = 1;\r
                        cm.hsync_neg = 1;\r
 \r
-                       cm.scan_double=1;               /* CRTC[0x09] bit 7 */\r
-                       cm.max_scanline=0;              /* CRTC[0x09] bit 4-0 */\r
+                       cm.scanline_div2=1;     /* CRTC[0x17] bit 2 */\r
+                       cm.scan_double=0;               /* CRTC[0x09] bit 7 */\r
+                       cm.max_scanline=4;              /* CRTC[0x09] bit 4-0 */\r
                        break;\r
                case 2: // TODO: 160x120 according to ModeX_160x120regs\r
                        return;\r