diff options
author | Bryan Bishop <kanzure@gmail.com> | 2012-03-16 00:08:58 -0500 |
---|---|---|
committer | Bryan Bishop <kanzure@gmail.com> | 2012-03-16 00:08:58 -0500 |
commit | cdcf80630fcf4b405e735560d1a61cf573a9319e (patch) | |
tree | a4d554441ec2cff4b8b31852a572d7b84a26493d /extras/romviz.py | |
parent | 930417ae3b0e310e7fe2300fb3a1a3a169509636 (diff) |
romvisualizer updates for main.asm, common.asm, pokered.asm
hg-commit-id: cc4f5c666710
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") |