Fixed names in implementation for PSP.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Sat, 31 Jan 2015 10:33:48 +0100
changeset 93254f7a9123393a
parent 9324 56f9b7e8547c
child 9326 960d7a8b6652
Fixed names in implementation for PSP.
src/audio/psp/SDL_pspaudio.h
src/video/psp/SDL_pspvideo.c
src/video/psp/SDL_pspvideo.h
     1.1 --- a/src/audio/psp/SDL_pspaudio.h	Sat Jan 31 10:32:45 2015 +0100
     1.2 +++ b/src/audio/psp/SDL_pspaudio.h	Sat Jan 31 10:33:48 2015 +0100
     1.3 @@ -24,7 +24,7 @@
     1.4  
     1.5  #include "../SDL_sysaudio.h"
     1.6  
     1.7 -/* Hidden "this" pointer for the video functions */
     1.8 +/* Hidden "this" pointer for the audio functions */
     1.9  #define _THIS   SDL_AudioDevice *this
    1.10  
    1.11  #define NUM_BUFFERS 2
     2.1 --- a/src/video/psp/SDL_pspvideo.c	Sat Jan 31 10:32:45 2015 +0100
     2.2 +++ b/src/video/psp/SDL_pspvideo.c	Sat Jan 31 10:33:48 2015 +0100
     2.3 @@ -66,7 +66,7 @@
     2.4      SDL_GLDriverData *gldata;
     2.5      int status;
     2.6  
     2.7 -    /* Check if pandora could be initialized */
     2.8 +    /* Check if PSP could be initialized */
     2.9      status = PSP_Available();
    2.10      if (status == 0) {
    2.11          /* PSP could not be used */
    2.12 @@ -80,7 +80,7 @@
    2.13          return NULL;
    2.14      }
    2.15  
    2.16 -    /* Initialize internal Pandora specific data */
    2.17 +    /* Initialize internal PSP specific data */
    2.18      phdata = (SDL_VideoData *) SDL_calloc(1, sizeof(SDL_VideoData));
    2.19      if (phdata == NULL) {
    2.20          SDL_OutOfMemory();
     3.1 --- a/src/video/psp/SDL_pspvideo.h	Sat Jan 31 10:32:45 2015 +0100
     3.2 +++ b/src/video/psp/SDL_pspvideo.h	Sat Jan 31 10:33:48 2015 +0100
     3.3 @@ -19,8 +19,8 @@
     3.4    3. This notice may not be removed or altered from any source distribution.
     3.5  */
     3.6  
     3.7 -#ifndef __SDL_PANDORA_H__
     3.8 -#define __SDL_PANDORA_H__
     3.9 +#ifndef _SDL_pspvideo_h
    3.10 +#define _SDL_pspvideo_h
    3.11  
    3.12  #include <GLES/egl.h>
    3.13  
    3.14 @@ -97,6 +97,6 @@
    3.15  void PSP_HideScreenKeyboard(_THIS, SDL_Window *window);
    3.16  SDL_bool PSP_IsScreenKeyboardShown(_THIS, SDL_Window *window);
    3.17  
    3.18 -#endif /* __SDL_PANDORA_H__ */
    3.19 +#endif /* _SDL_pspvideo_h */
    3.20  
    3.21  /* vi: set ts=4 sw=4 expandtab: */