- Fixed: S_LoadSound() did not byte-swap the frequency and length it reads
from DMX sounds. SVN r1792 (trunk)
This commit is contained in:
parent
45dde7aa2f
commit
6214177f1f
6 changed files with 48 additions and 30 deletions
|
|
@ -81,7 +81,7 @@ static bool CheckIfPatch(FileReader & file)
|
|||
file.Seek(0, SEEK_SET);
|
||||
file.Read(data, file.GetLength());
|
||||
|
||||
const patch_t * foo = (const patch_t *)data;
|
||||
const patch_t *foo = (const patch_t *)data;
|
||||
|
||||
int height = LittleShort(foo->height);
|
||||
int width = LittleShort(foo->width);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue