mirror of
https://github.com/crskycode/GARbro.git
synced 2026-06-22 11:55:45 +08:00
fixed WAV data size writing.
This commit is contained in:
@@ -146,7 +146,7 @@ namespace GameRes
|
||||
buffer.Write (source.Format.BitsPerSample);
|
||||
buffer.Write ((ushort)0);
|
||||
buffer.Write (0x61746164); // 'data'
|
||||
buffer.Write (source.PcmSize);
|
||||
buffer.Write ((uint)source.PcmSize);
|
||||
source.Position = 0;
|
||||
source.CopyTo (output);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user