From 14ad7d95cf2ec5123595643dce2705d8dbe06a0f Mon Sep 17 00:00:00 2001 From: Thomas Jentzsch Date: Sun, 18 Aug 2019 18:19:16 +0200 Subject: [PATCH] remove unused ConsoleOn/Off events --- src/emucore/Event.hxx | 4 ++-- src/emucore/EventHandler.cxx | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/emucore/Event.hxx b/src/emucore/Event.hxx index 92b4cd8be..7cb95b716 100644 --- a/src/emucore/Event.hxx +++ b/src/emucore/Event.hxx @@ -38,7 +38,7 @@ class Event enum Type { NoType = 0, - ConsoleOn, ConsoleOff, ConsoleColor, ConsoleBlackWhite, + ConsoleColor, ConsoleBlackWhite, ConsoleLeftDiffA, ConsoleLeftDiffB, ConsoleRightDiffA, ConsoleRightDiffB, ConsoleSelect, ConsoleReset, @@ -134,7 +134,7 @@ class Event }; // Event list version, update if the id of existing event types changed - static constexpr Int32 VERSION = 3; + static constexpr Int32 VERSION = 1; using EventSet = std::set; diff --git a/src/emucore/EventHandler.cxx b/src/emucore/EventHandler.cxx index e74279ff2..716925cb5 100644 --- a/src/emucore/EventHandler.cxx +++ b/src/emucore/EventHandler.cxx @@ -1967,7 +1967,6 @@ const Event::EventSet EventHandler::StateEvents = { // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - const Event::EventSet EventHandler::ConsoleEvents = { - // Event::ConsoleOn, Event::ConsoleOff, Event::ConsoleColor, Event::ConsoleBlackWhite, Event::ConsoleLeftDiffA, Event::ConsoleLeftDiffB, Event::ConsoleRightDiffA, Event::ConsoleRightDiffB,