pineapple-src/externals/vcpkg/ports/alac-decoder/decomp.c

12 lines
200 B
C
Raw Normal View History

2022-07-23 01:01:36 +00:00
#include "decomp.h"
#include <stdint.h>
int set_endian()
{
uint32_t integer = 0x000000aa;
unsigned char *p = (unsigned char*)&integer;
if (p[0] == 0xaa) return 0;
else return 1;
}