mirror of
https://github.com/korenkonder/ReDIVA.git
synced 2026-10-10 16:18:35 +03:00
Refectored f2_header and f2_struct
This commit is contained in:
+1
-4
@@ -547,10 +547,7 @@ static void a3da_write_inner(a3da* a, stream& s) {
|
||||
s_a3da.copy(st.data);
|
||||
s_a3da.close();
|
||||
|
||||
st.header.signature = reverse_endianness_uint32_t('A3DA');
|
||||
st.header.length = 0x40;
|
||||
st.header.use_big_endian = false;
|
||||
st.header.use_section_size = true;
|
||||
new (&st.header) f2_header('A3DA');
|
||||
st.header.inner_signature = a->format == A3DA_FORMAT_XHD ? 0x00131010 : 0x01131010;
|
||||
|
||||
st.write(s, true, a->format == A3DA_FORMAT_X || a->format == A3DA_FORMAT_XHD);
|
||||
|
||||
Reference in New Issue
Block a user