From cdcf80630fcf4b405e735560d1a61cf573a9319e Mon Sep 17 00:00:00 2001 From: Bryan Bishop Date: Fri, 16 Mar 2012 00:08:58 -0500 Subject: romvisualizer updates for main.asm, common.asm, pokered.asm hg-commit-id: cc4f5c666710 --- extras/romviz.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'extras/romviz.py') 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") -- cgit v1.2.3