all repos — mgba @ 06ee3340f91834a1bc669499dbdb11e5023f87bf

mGBA Game Boy Advance Emulator

GB Video: Fix up timings even more
Jeffrey Pfau jeffrey@endrift.com
Tue, 27 Sep 2016 01:34:01 -0700
commit

06ee3340f91834a1bc669499dbdb11e5023f87bf

parent

4cb59a54859da3953d2b524e153b4896839ec168

1 files changed, 3 insertions(+), 3 deletions(-)

jump to
M src/gb/video.hsrc/gb/video.h

@@ -19,9 +19,9 @@ GB_VIDEO_VBLANK_PIXELS = 10,

GB_VIDEO_VERTICAL_TOTAL_PIXELS = GB_VIDEO_VERTICAL_PIXELS + GB_VIDEO_VBLANK_PIXELS, // TODO: Figure out exact lengths - GB_VIDEO_MODE_2_LENGTH = 83, - GB_VIDEO_MODE_3_LENGTH_BASE = 158, - GB_VIDEO_MODE_0_LENGTH_BASE = 215, + GB_VIDEO_MODE_2_LENGTH = 76, + GB_VIDEO_MODE_3_LENGTH_BASE = 171, + GB_VIDEO_MODE_0_LENGTH_BASE = 209, GB_VIDEO_HORIZONTAL_LENGTH = GB_VIDEO_MODE_0_LENGTH_BASE + GB_VIDEO_MODE_2_LENGTH + GB_VIDEO_MODE_3_LENGTH_BASE,