+ fullfile[length] = 0x00;
+
+ if( entry->PreloadBytes )
+ {
+ memcpy( filebuf, ((char *)entry) + sizeof(VPKDirectoryEntry),
+ entry->PreloadBytes );
+
+ filebuf += entry->PreloadBytes;
+ length -= entry->PreloadBytes;
+
+ /* TODO, this can sometimes come from the same index file.
+ * very small performance gain can be made */
+ }