Browse Source

Fix types

Ivan Epifanov 4 years ago
parent
commit
4f9fde8766
2 changed files with 3 additions and 3 deletions
  1. 2 2
      src/video/vita/SDL_vitavideo.c
  2. 1 1
      src/video/vita/SDL_vitavideo.h

+ 2 - 2
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;

+ 1 - 1
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;