psphrpm.h Error - Change u32 with unsigned int

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
McZonk
Posts: 35
Joined: Thu Jul 14, 2005 10:42 pm
Location: Germany
Contact:

psphrpm.h Error - Change u32 with unsigned int

Post by McZonk »

The typedef u32 doesn't exist on all platforms. Please change the declaration in psphrpm.h form u32 to unsigned int.
TyRaNiD
Posts: 907
Joined: Sun Jan 18, 2004 12:23 am

Post by TyRaNiD »

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.
McZonk
Posts: 35
Joined: Thu Jul 14, 2005 10:42 pm
Location: Germany
Contact:

Post by McZonk »

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.
mrbrown
Site Admin
Posts: 1537
Joined: Sat Jan 17, 2004 11:24 am

Post by mrbrown »

Fixed.
User avatar
dot_blank
Posts: 498
Joined: Wed Sep 28, 2005 8:47 am
Location: Brasil

Post by dot_blank »

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
User avatar
groepaz
Posts: 305
Joined: Thu Sep 01, 2005 7:44 am
Contact:

Post by groepaz »

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 :)
Post Reply