From 3b52ab0d3708038681c5f65bfa7941d1c7433e89 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Sun, 30 Oct 2016 20:15:47 -0400 Subject: [PATCH] Cut some dead state. --- Machines/Oric/Video.cpp | 1 - Machines/Oric/Video.hpp | 6 +----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/Machines/Oric/Video.cpp b/Machines/Oric/Video.cpp index ff7c22798..ea14c006d 100644 --- a/Machines/Oric/Video.cpp +++ b/Machines/Oric/Video.cpp @@ -22,7 +22,6 @@ namespace { VideoOutput::VideoOutput(uint8_t *memory) : _ram(memory), _frame_counter(0), _counter(0), - _state(Sync), _cycles_in_state(0), _is_graphics_mode(false), _character_set_base_address(0xb400), _phase(0), diff --git a/Machines/Oric/Video.hpp b/Machines/Oric/Video.hpp index 1a562347b..ec41a919a 100644 --- a/Machines/Oric/Video.hpp +++ b/Machines/Oric/Video.hpp @@ -27,11 +27,7 @@ class VideoOutput { int _counter, _frame_counter; int _v_sync_start_position, _v_sync_end_position, _counter_period; - // Output state - enum State { - Blank, Sync, Pixels, ColourBurst - } _state; - unsigned int _cycles_in_state; + // Output target uint8_t *_pixel_target; // Registers