mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-28 05:44:12 +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…
x
Reference in New Issue
Block a user