mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-09-21 11:51:48 +02: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
1 changed files with 2 additions and 2 deletions
|
@ -22,8 +22,8 @@ T __inline max(T a, T b)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define BE16(x) (((x)[0]<<8) | (x)[1])
|
#define BE16(x) ((u16((x)[0])<<8) | u16((x)[1]))
|
||||||
#define BE32(x) (((x)[0]<<24) | ((x)[1]<<16) | ((x)[2]<<8) | (x)[3])
|
#define BE32(x) ((u32((x)[0])<<24) | (u32((x)[1])<<16) | (u32((x)[2])<<8) | u32((x)[3]))
|
||||||
|
|
||||||
class GCMemcard
|
class GCMemcard
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue