mirror of
https://github.com/aelurum/AssetStudio.git
synced 2025-05-25 05:40:21 -04:00
SwapBytesForXbox refactor
This commit is contained in:
parent
39490d4e03
commit
b9cf95616b
@ -219,9 +219,7 @@ namespace AssetStudio
|
||||
{
|
||||
for (var i = 0; i < reader.Size / 2; i++)
|
||||
{
|
||||
var b = image_data[i * 2];
|
||||
image_data[i * 2] = image_data[i * 2 + 1];
|
||||
image_data[i * 2 + 1] = b;
|
||||
(image_data[i * 2 + 1], image_data[i * 2]) = (image_data[i * 2], image_data[i * 2 + 1]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user