parent
12c550d8f7
commit
9dd9928a9b
2 changed files with 4 additions and 0 deletions
|
@ -673,7 +673,9 @@ static void open_screen(struct uae_prefs* p)
|
|||
void update_display(struct uae_prefs* p)
|
||||
{
|
||||
open_screen(p);
|
||||
#ifdef USE_SDL1
|
||||
SDL_SetRelativeMouseMode(SDL_TRUE);
|
||||
#endif
|
||||
SDL_ShowCursor(SDL_DISABLE);
|
||||
framecnt = 1; // Don't draw frame before reset done
|
||||
}
|
||||
|
|
|
@ -359,7 +359,9 @@ namespace sdl
|
|||
check_error_sdl(gui_texture == nullptr, "Unable to create GUI texture");
|
||||
|
||||
SDL_ShowCursor(SDL_ENABLE);
|
||||
#ifdef USE_SDL1
|
||||
SDL_SetRelativeMouseMode(SDL_FALSE);
|
||||
#endif
|
||||
#endif
|
||||
#ifdef ANDROIDSDL
|
||||
// Enable Android multitouch
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue