Alex.
Retired
- Joined
- Aug 24, 2005
- Messages
- 4,616
Hi,
I don't have a TV-out cable myself, however someone in a thread told me that my game Sqdef does not work well in TV-out mode. I use the SDL libs from the Open2x site (DevKitGP2X), but somehow the image is displayed improperly. Is there a specific way I must initialize SDL in order to get it to work? Here's the code I use:
CODE
SDL_Init(SDL_INIT_JOYSTICK | SDL_INIT_VIDEO | SDL_INIT_TIMER);
SDL_Surface* screen = SDL_SetVideoMode(WIDTH, HEIGHT, BPP, SDL_SWSURFACE);
SDL_SetClipRect(screen, NULL);
SDL_ShowCursor(SDL_DISABLE);
Any help would be much appreciated, I'm sorry for not being able to provide more details.
I don't have a TV-out cable myself, however someone in a thread told me that my game Sqdef does not work well in TV-out mode. I use the SDL libs from the Open2x site (DevKitGP2X), but somehow the image is displayed improperly. Is there a specific way I must initialize SDL in order to get it to work? Here's the code I use:
CODE
SDL_Init(SDL_INIT_JOYSTICK | SDL_INIT_VIDEO | SDL_INIT_TIMER);
SDL_Surface* screen = SDL_SetVideoMode(WIDTH, HEIGHT, BPP, SDL_SWSURFACE);
SDL_SetClipRect(screen, NULL);
SDL_ShowCursor(SDL_DISABLE);
Any help would be much appreciated, I'm sorry for not being able to provide more details.