mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-09 21:15:10 +01:00
9 lines
150 B
C
9 lines
150 B
C
|
#include <stdio.h>
|
||
|
#include <ogcsys.h>
|
||
|
|
||
|
|
||
|
u32 swap32(u32 x)
|
||
|
{
|
||
|
return (x >> 24) | ((x << 8) & 0x00FF0000UL) | ((x >> 8) & 0x0000FF00UL) | (x << 24);
|
||
|
}
|