diff --git a/Components/9918/9918.cpp b/Components/9918/9918.cpp index 98e899524..5e257adf3 100644 --- a/Components/9918/9918.cpp +++ b/Components/9918/9918.cpp @@ -499,7 +499,6 @@ void TMS9918::set_register(int address, uint8_t value) { case TI::TMS::SMSVDP: if(value & 0x40) { ram_pointer_ = static_cast(low_write_ | (value << 8)); - queued_access_ = MemoryAccess::Write; master_system_.cram_is_selected = true; return; } @@ -709,6 +708,8 @@ void Base::draw_sms(int start, int end) { pattern = *reinterpret_cast(master_system_.tile_graphics[byte_column]); } + // If the VDP is set to hide the left column and this is the final call that'll come + // this line, hide it. if(is_end && master_system_.hide_left_column) { pixel_origin_[0] = pixel_origin_[1] = pixel_origin_[2] = pixel_origin_[3] = pixel_origin_[4] = pixel_origin_[5] = pixel_origin_[6] = pixel_origin_[7] = @@ -732,8 +733,4 @@ void Base::draw_sms(int start, int end) { // // pixel_target_[c] = master_system_.colour_ram[value]; // } - -// for(int c = start; c < end; ++c) { -// pixel_target_[c] = static_cast(c * 0x01010101); -// } }