Fix types

This commit is contained in:
Ivan Epifanov 2021-03-08 19:20:33 +03:00 committed by Sam Lantinga
parent 1e5cc96199
commit 4f9fde8766
2 changed files with 3 additions and 3 deletions

View File

@ -337,8 +337,8 @@ void VITA_ShowScreenKeyboard(_THIS, SDL_Window *window)
{ {
SDL_VideoData *videodata = (SDL_VideoData *)_this->driverdata; SDL_VideoData *videodata = (SDL_VideoData *)_this->driverdata;
wchar_t *title = L""; SceWChar16 *title = (SceWChar16*)"";
wchar_t *text = L""; SceWChar16 *text = (SceWChar16*)"";
SceInt32 res; SceInt32 res;
SceImeDialogParam param; SceImeDialogParam param;

View File

@ -34,7 +34,7 @@ typedef struct SDL_VideoData
SDL_bool egl_initialized; /* OpenGL device initialization status */ SDL_bool egl_initialized; /* OpenGL device initialization status */
uint32_t egl_refcount; /* OpenGL reference count */ uint32_t egl_refcount; /* OpenGL reference count */
wchar_t ime_buffer[SCE_IME_DIALOG_MAX_TEXT_LENGTH]; SceWChar16 ime_buffer[SCE_IME_DIALOG_MAX_TEXT_LENGTH];
SDL_bool ime_active; SDL_bool ime_active;
} SDL_VideoData; } SDL_VideoData;