mirror of
https://github.com/a2-4am/4cade.git
synced 2025-01-11 07:30:02 +00:00
managed to create a regression with whitespace
This commit is contained in:
parent
8d95d437ad
commit
82b2a55c58
@ -17,11 +17,10 @@ if(len(filedata) >= 8192 and filedata[8189] == 0x4c):
|
||||
outdata = bytearray(filedata[0:8192])
|
||||
else:
|
||||
outdata = bytearray(filedata[0:7680])
|
||||
|
||||
for h in range(60):
|
||||
oh = h*128+120
|
||||
ih = h*8+7680+(int(h/15)*8)
|
||||
outdata[oh:oh+8] = filedata[ih:ih+8]
|
||||
for h in range(60):
|
||||
oh = h*128+120
|
||||
ih = h*8+7680+(int(h/15)*8)
|
||||
outdata[oh:oh+8] = filedata[ih:ih+8]
|
||||
|
||||
with open(outfile,"wb") as o:
|
||||
o.write(outdata)
|
||||
|
Loading…
x
Reference in New Issue
Block a user