From bdb35b61918cac41b2e086fe68ac905182430dd5 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Mon, 8 Aug 2022 21:00:28 -0400 Subject: [PATCH] Add an easier hook for debugging. --- Machines/Amiga/Copper.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Machines/Amiga/Copper.cpp b/Machines/Amiga/Copper.cpp index 01d6b30e9..5db62fc49 100644 --- a/Machines/Amiga/Copper.cpp +++ b/Machines/Amiga/Copper.cpp @@ -22,7 +22,9 @@ namespace { bool satisfies_raster(uint16_t position, uint16_t blitter_status, uint16_t *instruction) { // Return immediately if: (i) wait-for-Blitter is not disabled; and (ii) the Blitter is busy. - if(!(instruction[1] & 0x8000) && (blitter_status & 0x4000)) return false; + if(!(instruction[1] & 0x8000) && (blitter_status & 0x4000)) { + return false; + } // Otherwise, test the raster position against the instruction's value and mask. const uint16_t mask = 0x8000 | (instruction[1] & 0x7ffe);