riscos: Add a basic implementation of SDL_ShowCursor()

This commit is contained in:
Cameron Cawley
2022-05-25 21:40:28 +01:00
committed by Sam Lantinga
parent 4c711d2d43
commit 6eda520f64
4 changed files with 126 additions and 2 deletions

View File

@@ -23,6 +23,7 @@
#if SDL_VIDEO_DRIVER_RISCOS
#include "../SDL_sysvideo.h"
#include "../../events/SDL_mouse_c.h"
#include "SDL_riscosvideo.h"
#include "SDL_riscosmodes.h"
@@ -304,8 +305,8 @@ RISCOS_SetDisplayMode(_THIS, SDL_VideoDisplay * display, SDL_DisplayMode * mode)
_kernel_oswrch(disable_cursor[i]);
}
/* Turn the mouse pointer on */
/* _kernel_osbyte(106, 1, 0); */
/* Update cursor visibility, since it may have been disabled by the mode change. */
SDL_SetCursor(NULL);
return 0;
}