]> 4ch.mooo.com Git - 16.git/commitdiff
joncambell321 please help test.exe creates garbage if the 2nd rendering page is written
authorsparky4 <sparky4@cock.li>
Wed, 4 May 2016 19:31:52 +0000 (14:31 -0500)
committersparky4 <sparky4@cock.li>
Wed, 4 May 2016 19:31:52 +0000 (14:31 -0500)
src/lib/modex16.c

index 8776d0aa3ef080ff52e220940e4fb5ca804a1ac3..e7085e6345eb5c8e06b3b890fd01c4d7a9d2ed2c 100755 (executable)
@@ -170,7 +170,9 @@ modexDefaultPage(page_t *p)
     page_t page;\r
 \r
     /* default page values */\r
-    page.data = vga_state.vga_graphics_ram;//VGA;\r
+       //page.data = VGA;\r
+       //page.data = (byte far *)(vga_state.vga_graphics_ram);\r
+       page.data = (vga_state.vga_graphics_ram);\r
     page.dx = 0;\r
     page.dy = 0;\r
        page.sw = p->sw;\r