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)
 {