From 16f08eb6541e5f00e312ec8e9c6d0dd7373708b6 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Sun, 21 Oct 2018 13:58:34 -0400 Subject: [PATCH] Slightly tweaks Master System timing numbers. --- Components/9918/9918.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Components/9918/9918.cpp b/Components/9918/9918.cpp index 691f5fd29..8fefcf24c 100644 --- a/Components/9918/9918.cpp +++ b/Components/9918/9918.cpp @@ -66,7 +66,7 @@ Base::Base(Personality p) : } if(is_sega_vdp(personality_)) { - mode_timing_.line_interrupt_position = 65; + mode_timing_.line_interrupt_position = 64; mode_timing_.end_of_frame_interrupt_position.column = 63; mode_timing_.end_of_frame_interrupt_position.row = 193; @@ -564,7 +564,7 @@ void TMS9918::set_register(int address, uint8_t value) { uint8_t TMS9918::get_current_line() { // Determine the row to return. - static const int row_change_position = 62; // This is the proper Master System value; substitute if any other VDPs turn out to have this functionality. + static const int row_change_position = 63; // This is the proper Master System value; substitute if any other VDPs turn out to have this functionality. int source_row = (write_pointer_.column < row_change_position) ? (write_pointer_.row + mode_timing_.total_lines - 1)%mode_timing_.total_lines