First pass at 6CB70A
Move to viewport.c
Merge pull request #397 from jcdavis/master

Decompile 6CB70A
Fixes the last bug
Merge remote-tracking branch 'upstream/master'