sdl: fix SDL.NoFullscreenCursor (for use with zapper in fullscreen)

This commit is contained in:
punkrockguy318 2013-03-02 18:53:56 +00:00
parent c490369e67
commit 1b368e56bf
1 changed files with 3 additions and 1 deletions

View File

@ -219,8 +219,10 @@ InitVideo(FCEUGI *gi)
// check if we are rendering fullscreen
if(s_fullscreen) {
int no_cursor;
g_config->getOption("SDL.NoFullscreenCursor", &no_cursor);
flags |= SDL_FULLSCREEN;
SDL_ShowCursor(0);
SDL_ShowCursor(!no_cursor);
}
else {
SDL_ShowCursor(1);