Polyphase Game Engine
Loading...
Searching...
No Matches
SystemConstants.h
Go to the documentation of this file.
1#pragma once
2
3// ENDIAN_SWAP — file format (asset .oct) is little-endian per editor-host
4// convention. Big-endian platforms (GameCube/Wii via libogc, N64) need to
5// swap on read/write through Stream<T>. Enable for any platform whose CPU
6// is big-endian.
7#if PLATFORM_DOLPHIN || PLATFORM_N64
8#define ENDIAN_SWAP 1
9#else
10#define ENDIAN_SWAP 0
11#endif