From 4f9fde87669051ff7d8b8aeb01bbf1ed664c076d Mon Sep 17 00:00:00 2001 From: Ivan Epifanov Date: Mon, 8 Mar 2021 19:20:33 +0300 Subject: [PATCH] Fix types --- src/video/vita/SDL_vitavideo.c | 4 ++-- src/video/vita/SDL_vitavideo.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/video/vita/SDL_vitavideo.c b/src/video/vita/SDL_vitavideo.c index 32172d167..1fe34b389 100644 --- a/src/video/vita/SDL_vitavideo.c +++ b/src/video/vita/SDL_vitavideo.c @@ -337,8 +337,8 @@ void VITA_ShowScreenKeyboard(_THIS, SDL_Window *window) { SDL_VideoData *videodata = (SDL_VideoData *)_this->driverdata; - wchar_t *title = L""; - wchar_t *text = L""; + SceWChar16 *title = (SceWChar16*)""; + SceWChar16 *text = (SceWChar16*)""; SceInt32 res; SceImeDialogParam param; diff --git a/src/video/vita/SDL_vitavideo.h b/src/video/vita/SDL_vitavideo.h index f92182728..63944a320 100644 --- a/src/video/vita/SDL_vitavideo.h +++ b/src/video/vita/SDL_vitavideo.h @@ -34,7 +34,7 @@ typedef struct SDL_VideoData SDL_bool egl_initialized; /* OpenGL device initialization status */ 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_VideoData;