protected short ReadFileChunk( BinaryReader reader )
{
// get the chunk id
short id = ReadShort( reader );
#if ( XBOX || XBOX360 )
if (id == 0)
{
reader.BaseStream.Position -= 2;
id = ReadShort(reader);
}
#endif
// read the length for this chunk
currentChunkLength = ReadInt( reader );
return id;
}