mirror of
https://github.com/grp/Wii.py.git
synced 2025-06-18 23:05:48 -04:00
fixed all but RGB5A3 with alpha
This commit is contained in:
parent
ef8f66cddc
commit
9c61adfdb2
2
TPL.py
2
TPL.py
@ -473,8 +473,6 @@ class TPL():
|
||||
tpldata = struct.unpack(">" + str(w * h) + "H", data[tex.data_off:tex.data_off + (w * h * 2)])
|
||||
rgbdata = self.CI14X2((w, h), tpldata, paldata)
|
||||
elif(tex.format == 14):
|
||||
#sz = ((w + 7) >> 3) * ((w + 7) >> 3) * 32
|
||||
#tpldata = struct.unpack(">" + str(sz / 2) + "H", data[tex.data_off:tex.data_off + sz])
|
||||
tpldata = ''.join(data[tex.data_off:])
|
||||
|
||||
rgbdata = self.CMP((w, h), tpldata)
|
||||
|
Loading…
Reference in New Issue
Block a user