Commit dd6719e2 authored by PoroCYon's avatar PoroCYon

try to fix #43 and #44

parent 4e2e712c
Pipeline #44362995 passed with stages
in 2 minutes and 2 seconds
......@@ -343,7 +343,7 @@ namespace Altar.Unpack
for (uint i = 0; i < amt; i++)
{
bool[,] stuff = new bool[wPad*8, h];
bool[,] stuff = new bool[h, wPad*8];
for (uint y = 0; y < h; y++)
{
......@@ -356,9 +356,9 @@ namespace Altar.Unpack
byte* curptr = maskData + rown + byten;
byte curbyte = *curptr;
byte curbit = (byte)(curbyte & (byte)(1 << bitn));
byte curbit = (byte)(curbyte & (byte)(1 << (7-bitn)));
stuff[x, y] = curbit != 0;
stuff[y, x] = curbit != 0;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment