From 044ac949ba877fc7a86568cdce9e4193ae2bb830 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Thu, 1 Apr 2021 12:44:00 -0400 Subject: [PATCH] Rearrange fields. --- Machines/Sinclair/ZXSpectrum/Video.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Machines/Sinclair/ZXSpectrum/Video.hpp b/Machines/Sinclair/ZXSpectrum/Video.hpp index 49d81325c..aa895ef63 100644 --- a/Machines/Sinclair/ZXSpectrum/Video.hpp +++ b/Machines/Sinclair/ZXSpectrum/Video.hpp @@ -53,14 +53,14 @@ template class Video { // Number of lines comprising a whole frame. Will be 311 or 312. int lines_per_frame; - // Number of cycles after first pixel fetch at which interrupt is first signalled. - int interrupt_time; - // Number of cycles before first pixel fetch that contention starts to be applied. int contention_leadin; // Period in a line for which contention is applied. int contention_duration; + // Number of cycles after first pixel fetch at which interrupt is first signalled. + int interrupt_time; + // Contention to apply, in half-cycles, as a function of number of half cycles since // contention began. int delays[16];