view src/main/symbian/EKA2/sdllib.cpp @ 4386:dcb26ac38e6b SDL-1.2

Fixed crash - need to save and restore rbx around cpuid, since the compiler may be assuming the stack pointer isn't being modified when filling in %0. I did it around each call to cpuid which isn't strictly necessary, but is definitely future proof. :)
author Sam Lantinga <slouken@libsdl.org>
date Wed, 02 Dec 2009 16:24:21 +0000
parents e85e65aec22f
children
line wrap: on
line source

#include<eikstart.h>
#include<sdlmain.h>
#include<sdlepocapi.h>


GLREF_C TInt E32Main()
    {
    return SDLEnv::SetMain(SDL_main, CSDL::EEnableFocusStop | CSDL::EAllowImageResize,
     NULL, SDLEnv::EParamQuery | SDLEnv::EVirtualMouse);
    }