1
0
mirror of https://github.com/TomHarte/CLK.git synced 2025-02-21 20:29:06 +00:00

Minor tidy-up. No fixes.

This commit is contained in:
Thomas Harte 2022-07-30 21:00:50 -04:00
parent 94a90b7a89
commit 58ee8e2460

View File

@ -392,9 +392,6 @@ bool Blitter::advance_dma() {
c_data_ = ram_[pointer_[2] & ram_mask_]; c_data_ = ram_[pointer_[2] & ram_mask_];
pointer_[2] += direction_; pointer_[2] += direction_;
return true; return true;
case Channel::None:
return false;
case Channel::Write: break;
case Channel::FlushPipeline: case Channel::FlushPipeline:
posit_interrupt(InterruptFlag::Blitter); posit_interrupt(InterruptFlag::Blitter);
height_ = 0; height_ = 0;
@ -404,6 +401,9 @@ bool Blitter::advance_dma() {
ram_[write_address_ & ram_mask_] = write_value_; ram_[write_address_ & ram_mask_] = write_value_;
} }
return true; return true;
case Channel::None: return false;
case Channel::Write: break;
} }
a32_ = (a32_ << 16) | (a_data_ & transient_a_mask_); a32_ = (a32_ << 16) | (a_data_ & transient_a_mask_);