Mac and Linux SDL2 binary snapshots
Edward Rudd
2021-06-15 dec7875a6e23212021e4d9080330a42832dfe02a
source/src/video/psp/SDL_pspvideo.c
@@ -42,11 +42,6 @@
/* unused
static SDL_bool PSP_initialized = SDL_FALSE;
*/
static int
PSP_Available(void)
{
    return 1;
}
static void
PSP_Destroy(SDL_VideoDevice * device)
@@ -64,14 +59,6 @@
    SDL_VideoDevice *device;
    SDL_VideoData *phdata;
    SDL_GLDriverData *gldata;
    int status;
    /* Check if PSP could be initialized */
    status = PSP_Available();
    if (status == 0) {
        /* PSP could not be used */
        return NULL;
    }
    /* Initialize SDL_VideoDevice structure */
    device = (SDL_VideoDevice *) SDL_calloc(1, sizeof(SDL_VideoDevice));
@@ -152,7 +139,6 @@
VideoBootStrap PSP_bootstrap = {
    "PSP",
    "PSP Video Driver",
    PSP_Available,
    PSP_Create
};
@@ -181,7 +167,7 @@
    display.current_mode = current_mode;
    display.driverdata = NULL;
    SDL_AddVideoDisplay(&display);
    SDL_AddVideoDisplay(&display, SDL_FALSE);
    return 1;
}