Gargaj 11 년 전
부모
커밋
58b78fa265
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      code/AssbinExporter.cpp

+ 2 - 0
code/AssbinExporter.cpp

@@ -207,6 +207,8 @@ inline size_t WriteBounds(IOStream * stream, const T* in, unsigned int size)
 	return t + Write<T>(stream,maxc);
 }
 
+// We use this to write out non-byte arrays so that we write using the specializations.
+// This way we avoid writing out extra bytes that potentially come from struct alignment.
 template <typename T>
 inline size_t WriteArray(IOStream * stream, const T* in, unsigned int size)
 {