diff options
Diffstat (limited to 'extras/romviz.py')
-rw-r--r-- | extras/romviz.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extras/romviz.py b/extras/romviz.py index a87295ef..3f07d65e 100644 --- a/extras/romviz.py +++ b/extras/romviz.py @@ -33,8 +33,8 @@ for incbin_key in analyze_incbins.processed_incbins: end = incbin["end"] for pos in range(start, end+1): - widthx = pos % width - heighty = floor(pos / height) + widthx = int(pos % width) + heighty = int(floor(pos / height)) im.putpixel((widthx, heighty), 1) im.save("test.png") |