mirror of
https://github.com/crskycode/GARbro.git
synced 2024-11-27 07:34:00 +08:00
fixed WAV data size writing.
This commit is contained in:
parent
d2aaa1b075
commit
dd13ce551b
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user