Fixed names in implementation for PSP.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
diff --git a/src/audio/psp/SDL_pspaudio.h b/src/audio/psp/SDL_pspaudio.h
index 8e420f3..3b7ffb0 100644
--- a/src/audio/psp/SDL_pspaudio.h
+++ b/src/audio/psp/SDL_pspaudio.h
@@ -24,7 +24,7 @@
#include "../SDL_sysaudio.h"
-/* Hidden "this" pointer for the video functions */
+/* Hidden "this" pointer for the audio functions */
#define _THIS SDL_AudioDevice *this
#define NUM_BUFFERS 2
diff --git a/src/video/psp/SDL_pspvideo.c b/src/video/psp/SDL_pspvideo.c
index b378723..6124409 100644
--- a/src/video/psp/SDL_pspvideo.c
+++ b/src/video/psp/SDL_pspvideo.c
@@ -66,7 +66,7 @@ PSP_Create()
SDL_GLDriverData *gldata;
int status;
- /* Check if pandora could be initialized */
+ /* Check if PSP could be initialized */
status = PSP_Available();
if (status == 0) {
/* PSP could not be used */
@@ -80,7 +80,7 @@ PSP_Create()
return NULL;
}
- /* Initialize internal Pandora specific data */
+ /* Initialize internal PSP specific data */
phdata = (SDL_VideoData *) SDL_calloc(1, sizeof(SDL_VideoData));
if (phdata == NULL) {
SDL_OutOfMemory();
diff --git a/src/video/psp/SDL_pspvideo.h b/src/video/psp/SDL_pspvideo.h
index 2e1bb24..cb25b57 100644
--- a/src/video/psp/SDL_pspvideo.h
+++ b/src/video/psp/SDL_pspvideo.h
@@ -19,8 +19,8 @@
3. This notice may not be removed or altered from any source distribution.
*/
-#ifndef __SDL_PANDORA_H__
-#define __SDL_PANDORA_H__
+#ifndef _SDL_pspvideo_h
+#define _SDL_pspvideo_h
#include <GLES/egl.h>
@@ -97,6 +97,6 @@ void PSP_ShowScreenKeyboard(_THIS, SDL_Window *window);
void PSP_HideScreenKeyboard(_THIS, SDL_Window *window);
SDL_bool PSP_IsScreenKeyboardShown(_THIS, SDL_Window *window);
-#endif /* __SDL_PANDORA_H__ */
+#endif /* _SDL_pspvideo_h */
/* vi: set ts=4 sw=4 expandtab: */