PSP: Fixed error messages.
diff --git a/src/thread/psp/SDL_syssem.c b/src/thread/psp/SDL_syssem.c
index 1d4305c..c76a9e2 100644
--- a/src/thread/psp/SDL_syssem.c
+++ b/src/thread/psp/SDL_syssem.c
@@ -108,7 +108,7 @@
case SCE_KERNEL_ERROR_WAIT_TIMEOUT:
return SDL_MUTEX_TIMEDOUT;
default:
- return SDL_SetError("WaitForSingleObject() failed");
+ return SDL_SetError("sceKernelWaitSema() failed");
}
}
diff --git a/src/video/psp/SDL_pspgl.c b/src/video/psp/SDL_pspgl.c
index f8ff10b..dbcf20c 100644
--- a/src/video/psp/SDL_pspgl.c
+++ b/src/video/psp/SDL_pspgl.c
@@ -174,7 +174,7 @@
PSP_GL_SwapWindow(_THIS, SDL_Window * window)
{
if (!eglSwapBuffers(_this->gl_data->display, _this->gl_data->surface)) {
- return SDL_SetError("!eglSwapBuffers() failed");
+ return SDL_SetError("eglSwapBuffers() failed");
}
return 0;
}
diff --git a/src/video/psp/SDL_pspvideo.c b/src/video/psp/SDL_pspvideo.c
index 2a47793..91ad248 100644
--- a/src/video/psp/SDL_pspvideo.c
+++ b/src/video/psp/SDL_pspvideo.c
@@ -297,7 +297,7 @@
if (info->version.major <= SDL_MAJOR_VERSION) {
return SDL_TRUE;
} else {
- SDL_SetError("application not compiled with SDL %d.%d",
+ SDL_SetError("Application not compiled with SDL %d.%d",
SDL_MAJOR_VERSION, SDL_MINOR_VERSION);
return SDL_FALSE;
}