diff --git a/DataSpec/DNACommon/CRSC.cpp b/DataSpec/DNACommon/CRSC.cpp index 2eda63686..b0e077448 100644 --- a/DataSpec/DNACommon/CRSC.cpp +++ b/DataSpec/DNACommon/CRSC.cpp @@ -286,6 +286,7 @@ void CRSM::write(athena::io::IStreamWriter& w) const w.writeBytes("FOFFCNST", 8); w.writeFloatBig(x34_FOFF); } + w.writeBytes("_END", 4); } template diff --git a/DataSpec/DNACommon/ELSC.cpp b/DataSpec/DNACommon/ELSC.cpp index d8c8c4e74..26c69cb20 100644 --- a/DataSpec/DNACommon/ELSC.cpp +++ b/DataSpec/DNACommon/ELSC.cpp @@ -441,6 +441,7 @@ void ELSM::write(athena::io::IStreamWriter& w) const w.writeBytes((atInt8*)"ZERY", 4); x70_ZERY.write(w); } + w.writeBytes("_END", 4); } template struct ELSM; diff --git a/DataSpec/DNACommon/PART.cpp b/DataSpec/DNACommon/PART.cpp index b840ab3fd..945168d64 100644 --- a/DataSpec/DNACommon/PART.cpp +++ b/DataSpec/DNACommon/PART.cpp @@ -1529,6 +1529,7 @@ void GPSM::write(athena::io::IStreamWriter& w) const w.writeBytes((atInt8*)"ADV8", 4); x128_ADV8.write(w); } + w.writeBytes("_END", 4); } template struct GPSM; diff --git a/DataSpec/DNACommon/SWHC.cpp b/DataSpec/DNACommon/SWHC.cpp index a6e797303..9e550653a 100644 --- a/DataSpec/DNACommon/SWHC.cpp +++ b/DataSpec/DNACommon/SWHC.cpp @@ -535,6 +535,7 @@ void SWSH::write(athena::io::IStreamWriter& w) const w.writeBytes("ORNTCNST\x01", 9); if (x45_26_CRND) w.writeBytes("CRNDCNST\x01", 9); + w.writeBytes("_END", 4); } template struct SWSH;