]> 4ch.mooo.com Git - 16.git/commitdiff
stack overflow issue with sprite compiling... wwww
authorsparky4 <sparky4@cock.li>
Mon, 11 Apr 2016 15:47:12 +0000 (10:47 -0500)
committersparky4 <sparky4@cock.li>
Mon, 11 Apr 2016 15:47:12 +0000 (10:47 -0500)
src/lib/modex16.c

index 9fd8e84095a89586479010ca9a33ce0647928573..42d4f6c8be8bd193845ae388e26e42403ba6cd5d 100755 (executable)
@@ -80,7 +80,7 @@ vgaGetMode()
 void modexEnter(sword vq, boolean cmem, global_game_variables_t *gv)\r
 {\r
        word i;\r
-       dword far*ptr=(dword far*)VGA;      /* used for faster screen clearing */\r
+       dword far*ptr=(dword far*)vga_state.vga_graphics_ram;//VGA;      /* used for faster screen clearing */\r
        struct vga_mode_params cm;\r
        int CRTParmCount;\r
 \r