mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-24 15:01:16 +01:00
Fixed BE32 macro to make sure it returns an unsigned int.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@363 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
a5d51aa2ce
commit
9b1ddfcc69
@ -22,8 +22,8 @@ T __inline max(T a, T b)
|
||||
}
|
||||
#endif
|
||||
|
||||
#define BE16(x) (((x)[0]<<8) | (x)[1])
|
||||
#define BE32(x) (((x)[0]<<24) | ((x)[1]<<16) | ((x)[2]<<8) | (x)[3])
|
||||
#define BE16(x) ((u16((x)[0])<<8) | u16((x)[1]))
|
||||
#define BE32(x) ((u32((x)[0])<<24) | (u32((x)[1])<<16) | (u32((x)[2])<<8) | u32((x)[3]))
|
||||
|
||||
class GCMemcard
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user