From d5cfcf219ec1502cc152b331e74e512c5c0af674 Mon Sep 17 00:00:00 2001 From: Jeffrey Pfau Date: Tue, 30 Aug 2016 02:03:40 -0700 Subject: [PATCH] GB Video: Tweak video timings --- src/gb/video.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gb/video.h b/src/gb/video.h index 064505eb6..5fa57db2a 100644 --- a/src/gb/video.h +++ b/src/gb/video.h @@ -19,9 +19,9 @@ enum { 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,