Fix off-by-one error on video output.
Merge pull request #9 from Alcaro/master

Fix off-by-one error on video output.
Merge pull request #15 from libretro/master

Fix off-by-one error for libretro