From dfca521bf921406f0ca7b4f0a2268109807dca9d Mon Sep 17 00:00:00 2001 From: thrust26 Date: Sun, 17 Dec 2017 12:24:16 +0100 Subject: [PATCH] two minor bug fixes --- src/debugger/gui/DebuggerDialog.cxx | 2 +- src/gui/DeveloperDialog.cxx | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/debugger/gui/DebuggerDialog.cxx b/src/debugger/gui/DebuggerDialog.cxx index cfeac07d2..9d0e7a2cb 100644 --- a/src/debugger/gui/DebuggerDialog.cxx +++ b/src/debugger/gui/DebuggerDialog.cxx @@ -63,7 +63,7 @@ DebuggerDialog::DebuggerDialog(OSystem& osystem, DialogContainer& parent, // Inform the TIA output widget about its associated zoom widget myTiaOutput->setZoomWidget(myTiaZoom); - myOptions = make_unique(osystem, parent, this, w, h, true); + myOptions = make_unique(osystem, parent, this, w, h, false); } // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/gui/DeveloperDialog.cxx b/src/gui/DeveloperDialog.cxx index 90d89b1b9..eb8b0b18e 100644 --- a/src/gui/DeveloperDialog.cxx +++ b/src/gui/DeveloperDialog.cxx @@ -959,7 +959,10 @@ void DeveloperDialog::handleTimeMachine() myStateIntervalWidget->setEnabled(enable); - myStateHorizonWidget->setEnabled(enable); + uInt32 size = myStateSizeWidget->getValue(); + uInt32 uncompressed = myUncompressedWidget->getValue(); + + myStateHorizonWidget->setEnabled(enable && size > uncompressed); } // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -