usbloadergx/source/usbloader/utils.c
dimok321 973d8b2005 *Fixed compile error
*Converted every 4 spaces to a tab to make the source consistent on those
2011-07-25 22:28:22 +00:00

8 lines
149 B
C

#include <stdio.h>
#include <ogcsys.h>
u32 swap32(u32 x)
{
return (x >> 24) | ((x << 8) & 0x00FF0000UL) | ((x >> 8) & 0x0000FF00UL) | (x << 24);
}