Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
PSP: Fixed error messages.
  • Loading branch information
philippwiesemann committed Apr 2, 2017
1 parent f96cdca commit 1517ba7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/thread/psp/SDL_syssem.c
Expand Up @@ -108,7 +108,7 @@ int SDL_SemWaitTimeout(SDL_sem *sem, Uint32 timeout)
case SCE_KERNEL_ERROR_WAIT_TIMEOUT:
return SDL_MUTEX_TIMEDOUT;
default:
return SDL_SetError("WaitForSingleObject() failed");
return SDL_SetError("sceKernelWaitSema() failed");
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/video/psp/SDL_pspgl.c
Expand Up @@ -174,7 +174,7 @@ int
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;
}
Expand Down
2 changes: 1 addition & 1 deletion src/video/psp/SDL_pspvideo.c
Expand Up @@ -297,7 +297,7 @@ PSP_GetWindowWMInfo(_THIS, SDL_Window * window, struct SDL_SysWMinfo *info)
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;
}
Expand Down

0 comments on commit 1517ba7

Please sign in to comment.