From 718544d190512e59958f74ba5679c201aef1dec4 Mon Sep 17 00:00:00 2001 From: Jeff Teunissen Date: Sat, 28 Oct 2000 05:08:55 +0000 Subject: [PATCH] Change -sdl to use 320x200 window again --- source/vid_sdl.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/source/vid_sdl.c b/source/vid_sdl.c index a08054e..f3bcb28 100644 --- a/source/vid_sdl.c +++ b/source/vid_sdl.c @@ -58,11 +58,8 @@ HWND mainwindow; int modestate; // fixme: just to avoid cross-comp. errors - remove later // The original defaults -//#define BASEWIDTH 320 -//#define BASEHEIGHT 200 -// Much better for high resolution displays -#define BASEWIDTH (320*2) -#define BASEHEIGHT (200*2) +#define BASEWIDTH 320 +#define BASEHEIGHT 200 int VGA_width, VGA_height, VGA_rowbytes, VGA_bufferrowbytes = 0; byte *VGA_pagebase; @@ -121,13 +118,13 @@ VID_SetPalette (unsigned char *palette) colors[i].g = *palette++; colors[i].b = *palette++; } - SDL_SetColors(screen, colors, 0, 256); + SDL_SetColors (screen, colors, 0, 256); } void VID_ShiftPalette (unsigned char *palette) { - VID_SetPalette(palette); + VID_SetPalette (palette); } void