From 01fc52289708369426db55576b9a3c7e72f9aa07 Mon Sep 17 00:00:00 2001 From: sparky4 Date: Wed, 4 May 2016 14:31:52 -0500 Subject: [PATCH] joncambell321 please help test.exe creates garbage if the 2nd rendering page is written --- src/lib/modex16.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lib/modex16.c b/src/lib/modex16.c index 8776d0aa..e7085e63 100755 --- a/src/lib/modex16.c +++ b/src/lib/modex16.c @@ -170,7 +170,9 @@ modexDefaultPage(page_t *p) page_t page; /* default page values */ - page.data = vga_state.vga_graphics_ram;//VGA; + //page.data = VGA; + //page.data = (byte far *)(vga_state.vga_graphics_ram); + page.data = (vga_state.vga_graphics_ram); page.dx = 0; page.dy = 0; page.sw = p->sw; -- 2.39.5