diff --git a/Components/9918/Implementation/9918.cpp b/Components/9918/Implementation/9918.cpp index 3cf924234..4b5412e48 100644 --- a/Components/9918/Implementation/9918.cpp +++ b/Components/9918/Implementation/9918.cpp @@ -211,18 +211,18 @@ void TMS9918::run_for(const HalfCycles cycles) { // Perform memory accesses. // ------------------------ #define fetch(function, clock, offset) { \ - const int first_window = from_internal(this->fetch_pointer_.column);\ - const int final_window = from_internal(end_column); \ - if(first_window == final_window) break; \ - if(final_window != clock_rate()) { \ - function( \ - this->line_buffers_[this->fetch_pointer_.row], this->fetch_pointer_.row + offset, \ - first_window, final_window); \ - } else { \ - function( \ - this->line_buffers_[this->fetch_pointer_.row], this->fetch_pointer_.row + offset, \ - first_window, final_window); \ - } \ + const int first_window = from_internal(this->fetch_pointer_.column); \ + const int final_window = from_internal(end_column); \ + if(first_window == final_window) break; \ + if(final_window != clock_rate()) { \ + function( \ + this->line_buffers_[this->fetch_pointer_.row], this->fetch_pointer_.row + offset, \ + first_window, final_window); \ + } else { \ + function( \ + this->line_buffers_[this->fetch_pointer_.row], this->fetch_pointer_.row + offset, \ + first_window, final_window); \ + } \ } switch(line_buffer.fetch_mode) {