QJ.NET | Videos | Forums | iPhone | MMORPG | Nintendo DS | Wii | PlayStation 3 | PSP | Xbox 360 | PC | Downloads | Contact Us
Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact

QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides

Go Back   QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides > Developers Corner > PSP Development, Hacks, and Homebrew > PSP Development Forum
The above video goes away if you are a member and logged in, so log in now!

SDL Cursor on Load / Optimizations

This is a discussion on SDL Cursor on Load / Optimizations within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; Does anyone know what causes there to be a cursor in the upper left corner of the screen when running ...

Reply
 
LinkBack Thread Tools
Old 08-19-2006, 09:18 AM   #1
 
framerate's Avatar
 
Join Date: Aug 2005
Location: Indiana
Posts: 389
Trader Feedback: 0
Default SDL Cursor on Load / Optimizations

Does anyone know what causes there to be a cursor in the upper left corner of the screen when running an SDL program? It seemed that SDL_NOFRAME got rid of it on SDL_HWSURFACE, but on SWSURFACE it seems to be back (but I could be wrong). Anyone have any tips to get rid of it?

Also on that note...

Any SDL developers... what values do you use to SDL_SetVideoMode. I'm not seeing much of a difference, although the game feels "funny" on certain settings. When I add double buffering to this option, I get a funny flicker effect on my screen fades (seems backwards? Flicker WITH double buffering?)

Currently I'm using this:
Code:
screen = SDL_SetVideoMode(480, 272, 32,SDL_SWSURFACE|SDL_NOFRAME);

but I'm not sure that's the best... Any tips? This is my first work with SDL on the PSP.
__________________
[URL=http://www.framerate.info/psp][IMG]http://www.framerate.info/_hosted/imageupload/signature.gif[/IMG][/URL]
framerate is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-19-2006, 10:51 AM   #2

100% Pure Awesome
 
Join Date: Jan 2006
Posts: 508
Trader Feedback: 0
Default

http://www.libsdl.org/cgi/docwiki.cgi/SDL_5fShowCursor

Hope this helps. It is the api reference to the SDL_ShowCursor() function.
__________________

Ravine is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-19-2006, 12:26 PM   #3
 
framerate's Avatar
 
Join Date: Aug 2005
Location: Indiana
Posts: 389
Trader Feedback: 0
Default

hahah thanks Ravine. I can't believe it's something that simple. I thought it had to do with the init or sure!
__________________
[URL=http://www.framerate.info/psp][IMG]http://www.framerate.info/_hosted/imageupload/signature.gif[/IMG][/URL]
framerate is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
cursor , load , optimizations , sdl

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -8. The time now is 05:50 PM.



Use of this Web site constitutes acceptance of the TERMS & CONDITIONS and PRIVACY POLICY
Copyright © 2009, QJ.NET. All Rights Reserved.
Contact Us