view src/video/uikit/jumphack.c @ 3175:e6c113f1ea43

Fixed support for 4bpp video modes enumeration, otherwise mode with zero bpp appears in the list.
author Mike Gorchak <lestat@i.com.ua>
date Mon, 08 Jun 2009 21:00:52 +0000
parents f55c87ae336b
children e8045ba3f79f
line wrap: on
line source

/*
 *  jumphack.c
 *  SDLiPhoneOS
 *
 */

#include "jumphack.h"

/* see SDL_uikitevents.m for more info */

/* stores the information we need to jump back */
jmp_buf env;

/* returns the jump environment for setting / getting purposes */
jmp_buf *
jump_env()
{
    return &env;
}