forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

psphrpm.h Error - Change u32 with unsigned int

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
McZonk



Joined: 14 Jul 2005
Posts: 35
Location: Germany

PostPosted: Fri Nov 25, 2005 3:23 am    Post subject: psphrpm.h Error - Change u32 with unsigned int Reply with quote

The typedef u32 doesn't exist on all platforms. Please change the declaration in psphrpm.h form u32 to unsigned int.
Back to top
View user's profile Send private message Visit poster's website
TyRaNiD



Joined: 18 Jan 2004
Posts: 918

PostPosted: Fri Nov 25, 2005 8:26 am    Post subject: Reply with quote

u32 is a pspsdk typedef and has existing since the inception of the sdk, psphprm.h is a pspsdk header. So quite frankly, tough. I don't know what toolchain/sdk combination you are using but I am willing to take a guess.
Back to top
View user's profile Send private message
McZonk



Joined: 14 Jul 2005
Posts: 35
Location: Germany

PostPosted: Fri Nov 25, 2005 5:34 pm    Post subject: Reply with quote

Sorry, I never saw this typedef in any header file. I added the psphprm.h as a test in my Quake 2 Port and get this little bug there. The only two headers in my input file are pspctrl and psphprm. There is no u32 defined.
Back to top
View user's profile Send private message Visit poster's website
mrbrown



Joined: 17 Jan 2004
Posts: 1536

PostPosted: Sat Nov 26, 2005 2:10 am    Post subject: Reply with quote

Fixed.
Back to top
View user's profile Send private message
dot_blank



Joined: 28 Sep 2005
Posts: 498
Location: Brasil

PostPosted: Sat Nov 26, 2005 8:51 am    Post subject: Reply with quote

thanx for this quick fix
i experienced similar problems
before ... which resulted in me just
creating my own custom header

but im sure glad that this has been
changed to a more logical method
which will make this bug inexistant

Q: im taking a wild guess... but was u32
something that had been passed down
from ps2 dev? i only ask from curiousity
as i never got into ps2 dev .....sure wish
i did ;)
_________________
10011011 00101010 11010111 10001001 10111010
Back to top
View user's profile Send private message
groepaz



Joined: 01 Sep 2005
Posts: 305

PostPosted: Sun Nov 27, 2005 4:12 am    Post subject: Reply with quote

that kind of types seem to be common in most embedded devkits....i've seen them in offical gba and ps1 headers, and most (if not all) free embedded kits have them too :)
_________________
http://www.hitmen-console.org
http://hitmen.c02.at/files/yapspd/
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group