Set to ZX Spectrum resolution

This commit is contained in:
Pedro de Oliveira 2014-08-31 04:30:11 +01:00
parent f7ef032910
commit 7ccde2d46b
2 changed files with 4 additions and 3 deletions

4
.gitignore vendored
View File

@ -1,3 +1,5 @@
*.tap
*.o
*.exe
*.exe
zxscr/stderr.txt
zxscr/stdout.txt

View File

@ -112,8 +112,7 @@ main (int argc, char *argv[])
}
atexit (SDL_Quit);
/* Set 640x480 16-bits video mode */
screen = SDL_SetVideoMode (640, 480, 16, SDL_SWSURFACE | SDL_DOUBLEBUF);
screen = SDL_SetVideoMode (256, 192, 16, SDL_SWSURFACE | SDL_DOUBLEBUF);
if (screen == NULL)
{
sprintf (msg, "Couldn't set 640x480x16 video mode: %s\n",