From 183ba0acda6854d524cf937c2df59cab90a5ebac Mon Sep 17 00:00:00 2001 From: sparky4 Date: Mon, 11 Apr 2016 10:47:12 -0500 Subject: [PATCH] stack overflow issue with sprite compiling... wwww --- src/lib/modex16.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/modex16.c b/src/lib/modex16.c index 9fd8e840..42d4f6c8 100755 --- a/src/lib/modex16.c +++ b/src/lib/modex16.c @@ -80,7 +80,7 @@ vgaGetMode() void modexEnter(sword vq, boolean cmem, global_game_variables_t *gv) { word i; - dword far*ptr=(dword far*)VGA; /* used for faster screen clearing */ + dword far*ptr=(dword far*)vga_state.vga_graphics_ram;//VGA; /* used for faster screen clearing */ struct vga_mode_params cm; int CRTParmCount; -- 2.39.5