mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-20 22:16:49 +01:00
Fixed names in implementation for PSP.
This commit is contained in:
parent
7815393b2e
commit
7384f147f8
@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
#include "../SDL_sysaudio.h"
|
#include "../SDL_sysaudio.h"
|
||||||
|
|
||||||
/* Hidden "this" pointer for the video functions */
|
/* Hidden "this" pointer for the audio functions */
|
||||||
#define _THIS SDL_AudioDevice *this
|
#define _THIS SDL_AudioDevice *this
|
||||||
|
|
||||||
#define NUM_BUFFERS 2
|
#define NUM_BUFFERS 2
|
||||||
|
@ -66,7 +66,7 @@ PSP_Create()
|
|||||||
SDL_GLDriverData *gldata;
|
SDL_GLDriverData *gldata;
|
||||||
int status;
|
int status;
|
||||||
|
|
||||||
/* Check if pandora could be initialized */
|
/* Check if PSP could be initialized */
|
||||||
status = PSP_Available();
|
status = PSP_Available();
|
||||||
if (status == 0) {
|
if (status == 0) {
|
||||||
/* PSP could not be used */
|
/* PSP could not be used */
|
||||||
@ -80,7 +80,7 @@ PSP_Create()
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Initialize internal Pandora specific data */
|
/* Initialize internal PSP specific data */
|
||||||
phdata = (SDL_VideoData *) SDL_calloc(1, sizeof(SDL_VideoData));
|
phdata = (SDL_VideoData *) SDL_calloc(1, sizeof(SDL_VideoData));
|
||||||
if (phdata == NULL) {
|
if (phdata == NULL) {
|
||||||
SDL_OutOfMemory();
|
SDL_OutOfMemory();
|
||||||
|
@ -19,8 +19,8 @@
|
|||||||
3. This notice may not be removed or altered from any source distribution.
|
3. This notice may not be removed or altered from any source distribution.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __SDL_PANDORA_H__
|
#ifndef _SDL_pspvideo_h
|
||||||
#define __SDL_PANDORA_H__
|
#define _SDL_pspvideo_h
|
||||||
|
|
||||||
#include <GLES/egl.h>
|
#include <GLES/egl.h>
|
||||||
|
|
||||||
@ -97,6 +97,6 @@ void PSP_ShowScreenKeyboard(_THIS, SDL_Window *window);
|
|||||||
void PSP_HideScreenKeyboard(_THIS, SDL_Window *window);
|
void PSP_HideScreenKeyboard(_THIS, SDL_Window *window);
|
||||||
SDL_bool PSP_IsScreenKeyboardShown(_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: */
|
/* vi: set ts=4 sw=4 expandtab: */
|
||||||
|
Loading…
Reference in New Issue
Block a user