all repos — mgba @ d5cfcf219ec1502cc152b331e74e512c5c0af674

mGBA Game Boy Advance Emulator

GB Video: Tweak video timings
Jeffrey Pfau jeffrey@endrift.com
Tue, 30 Aug 2016 02:03:40 -0700
commit

d5cfcf219ec1502cc152b331e74e512c5c0af674

parent

c06edae71d8a236124f3068700db1204b8473af1

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 = 80, - GB_VIDEO_MODE_3_LENGTH_BASE = 176, - GB_VIDEO_MODE_0_LENGTH_BASE = 200, + GB_VIDEO_MODE_2_LENGTH = 78, + GB_VIDEO_MODE_3_LENGTH_BASE = 160, + GB_VIDEO_MODE_0_LENGTH_BASE = 218, GB_VIDEO_HORIZONTAL_LENGTH = GB_VIDEO_MODE_0_LENGTH_BASE + GB_VIDEO_MODE_2_LENGTH + GB_VIDEO_MODE_3_LENGTH_BASE,