From 01acbbe798200f1af5f43f25c1d5edc25a22a718 Mon Sep 17 00:00:00 2001 From: theoddone33 <> Date: Fri, 27 Apr 2001 17:35:25 +0000 Subject: [PATCH] Various fixes --- zsnes/src/linux/sdllink.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/zsnes/src/linux/sdllink.c b/zsnes/src/linux/sdllink.c index 1d0e1d3b..1662957b 100644 --- a/zsnes/src/linux/sdllink.c +++ b/zsnes/src/linux/sdllink.c @@ -497,14 +497,14 @@ int startgame(void) if (surface == NULL) { if (BitDepth) fprintf (stderr, "Could not set %dx%dx%d video mode.\n", - SurfaceX,SurfaceY,BitDepth); + WindowWidth,WindowHeight,BitDepth); else - fprintf (stderr, "Could not set %dx%d video mode.\n",SurfaceX, - SurfaceY); + fprintf (stderr, "Could not set %dx%d video mode.\n",WindowWidth, + WindowHeight); return FALSE; } SurfaceLocking = SDL_MUSTLOCK(surface); - SDL_WarpMouse(0,0); + SDL_WarpMouse(SurfaceX/4,SurfaceY/4); // Grab mouse in fullscreen mode FullScreen ? SDL_WM_GrabInput(SDL_GRAB_ON) : SDL_WM_GrabInput(SDL_GRAB_OFF); @@ -1430,7 +1430,7 @@ void drawscreenwin(void) break; default: UnlockSurface(); - fprintf(stderr, "Mode only available in 16 and 32 bit color.\n"); + fprintf(stderr, "Mode only available in 16 bit color.\n"); cvidmode=2; initwinvideo(); sleep(1);