nba-emu / NanoBoyAdvance

A cycle-accurate Nintendo Game Boy Advance emulator.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Background viewer: viewport horizontal position is fixed

Vulcalien opened this issue · comments

I noticed that the red rectangle drawn to indicate the viewport of the background viewer seems to always have the same x coordinate, despite the background scrolling horizontally.

This is also shown in this example, in which scroll is 0, 0 but the rectangle is slightly moved to the right.
example

Good catch! I introduced a typo while cleaning up the code last night. Thanks.

I thought I was to late, but nice!