mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-26 08:49:37 +00:00
Ensure Yamaha-style refresh is used in all modes.
This commit is contained in:
parent
7293f9dc10
commit
15fbf4cb7f
@ -192,12 +192,8 @@ template <Personality personality> struct Storage<personality, std::enable_if_t<
|
||||
};
|
||||
const Event *next_event_ = nullptr;
|
||||
void begin_line([[maybe_unused]] ScreenMode mode, bool is_refresh, [[maybe_unused]] bool sprites_enabled) {
|
||||
// TODO: remove this check. It's temporary, while the Yamaha is still using the TMS fetchers.
|
||||
if(mode < ScreenMode::YamahaText80) {
|
||||
return;
|
||||
}
|
||||
|
||||
assert(next_event_ == nullptr || next_event_->offset == 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;
|
||||
|
Loading…
Reference in New Issue
Block a user