1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-22 12:33:29 +00:00

Neaten, slightly.

This commit is contained in:
Thomas Harte 2021-08-10 09:20:34 -04:00
parent 76e9fcc94a
commit fdd02ad6a6

View File

@ -256,10 +256,7 @@ template <int cycle, bool stop_if_cpu> bool Chipset::perform_cycle() {
// Down here: give first refusal to the Blitter, otherwise
// pass on to the CPU.
if((dma_control_ & BlitterFlag) == BlitterFlag) {
return !blitter_.advance();
}
return true;
return (dma_control_ & BlitterFlag) != BlitterFlag || !blitter_.advance();
}
template <bool stop_on_cpu> int Chipset::advance_slots(int first_slot, int last_slot) {