PSP: Fixed error messages.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Sun, 02 Apr 2017 21:33:54 +0200
changeset 109605ebfa73d9f4b
parent 10959 97e629557346
child 10961 f931db466859
PSP: Fixed error messages.
src/thread/psp/SDL_syssem.c
src/video/psp/SDL_pspgl.c
src/video/psp/SDL_pspvideo.c
     1.1 --- a/src/thread/psp/SDL_syssem.c	Sun Apr 02 21:33:42 2017 +0200
     1.2 +++ b/src/thread/psp/SDL_syssem.c	Sun Apr 02 21:33:54 2017 +0200
     1.3 @@ -108,7 +108,7 @@
     1.4                 case SCE_KERNEL_ERROR_WAIT_TIMEOUT:
     1.5                         return SDL_MUTEX_TIMEDOUT;
     1.6                 default:
     1.7 -                       return SDL_SetError("WaitForSingleObject() failed");
     1.8 +                       return SDL_SetError("sceKernelWaitSema() failed");
     1.9      }
    1.10  }
    1.11  
     2.1 --- a/src/video/psp/SDL_pspgl.c	Sun Apr 02 21:33:42 2017 +0200
     2.2 +++ b/src/video/psp/SDL_pspgl.c	Sun Apr 02 21:33:54 2017 +0200
     2.3 @@ -174,7 +174,7 @@
     2.4  PSP_GL_SwapWindow(_THIS, SDL_Window * window)
     2.5  {
     2.6      if (!eglSwapBuffers(_this->gl_data->display, _this->gl_data->surface)) {
     2.7 -        return SDL_SetError("!eglSwapBuffers() failed");
     2.8 +        return SDL_SetError("eglSwapBuffers() failed");
     2.9      }
    2.10      return 0;
    2.11  }
     3.1 --- a/src/video/psp/SDL_pspvideo.c	Sun Apr 02 21:33:42 2017 +0200
     3.2 +++ b/src/video/psp/SDL_pspvideo.c	Sun Apr 02 21:33:54 2017 +0200
     3.3 @@ -297,7 +297,7 @@
     3.4      if (info->version.major <= SDL_MAJOR_VERSION) {
     3.5          return SDL_TRUE;
     3.6      } else {
     3.7 -        SDL_SetError("application not compiled with SDL %d.%d",
     3.8 +        SDL_SetError("Application not compiled with SDL %d.%d",
     3.9                       SDL_MAJOR_VERSION, SDL_MINOR_VERSION);
    3.10          return SDL_FALSE;
    3.11      }