From 15fbf4cb7f83477fc8427ab0009de085c9c61eae Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Mon, 23 Jan 2023 22:39:34 -0500 Subject: [PATCH] Ensure Yamaha-style refresh is used in all modes. --- Components/9918/Implementation/9918Base.hpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Components/9918/Implementation/9918Base.hpp b/Components/9918/Implementation/9918Base.hpp index 59781033d..7d3940502 100644 --- a/Components/9918/Implementation/9918Base.hpp +++ b/Components/9918/Implementation/9918Base.hpp @@ -192,12 +192,8 @@ template struct Storageoffset == 1368); + // TODO: remove YamahaText80 check. It's temporary, while the Yamaha is still using the TMS fetchers. + assert(mode < ScreenMode::YamahaText80 || next_event_ == nullptr || next_event_->offset == 1368); if(is_refresh) { next_event_ = refresh_events;