Change -sdl to use 320x200 window again

This commit is contained in:
Jeff Teunissen 2000-10-28 05:08:55 +00:00
parent a3dbf0f9da
commit 718544d190

View file

@ -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