Changeset View
Changeset View
Standalone View
Standalone View
source/ps/FileIo.cpp
Show All 17 Lines | |||||
/* | /* | ||||
* endian-safe binary file IO helpers. | * endian-safe binary file IO helpers. | ||||
*/ | */ | ||||
#include "precompiled.h" | #include "precompiled.h" | ||||
#include "FileIo.h" | #include "FileIo.h" | ||||
#include "ps/CLogger.h" | #include "ps/CLogger.h" | ||||
#include "ps/CStr.h" | |||||
#include "ps/Filesystem.h" | #include "ps/Filesystem.h" | ||||
#include "lib/byte_order.h" | #include "lib/byte_order.h" | ||||
#pragma pack(push, 1) | #pragma pack(push, 1) | ||||
struct FileHeader | struct FileHeader | ||||
{ | { | ||||
char magic[4]; | char magic[4]; | ||||
▲ Show 20 Lines • Show All 147 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator