From cda1e301e28a83bed2d745424b327080f48c7f47 Mon Sep 17 00:00:00 2001 From: stephena Date: Mon, 16 Sep 2013 14:37:44 +0000 Subject: [PATCH] Temporary workaround for saving TIA image from debugger window; we only ever want to see the TIA, not the entire debugger area too. This will be fixed for Stella 4.0, once I remove the @#*%$-ing software rendering support. That part of the code keeps coming back to haunt me for years. It will be *SO MUCH EASIER* to deal with these things when everything is a FBSurface that can be stretched/scaled as necessary. git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2828 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba --- src/debugger/DebuggerParser.cxx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/debugger/DebuggerParser.cxx b/src/debugger/DebuggerParser.cxx index b6d25d045..f8e5c800c 100644 --- a/src/debugger/DebuggerParser.cxx +++ b/src/debugger/DebuggerParser.cxx @@ -1432,7 +1432,12 @@ void DebuggerParser::executeSaveses() // "savesnap" void DebuggerParser::executeSavesnap() { + // FIXME - for now, temporarily enable 1x snapshot mode, and reset it + // afterwards; this will change once we move to FBSurfaces + bool ss1x = settings.getBool("ss1x"); + settings.setValue("ss1x", true); debugger.myOSystem->eventHandler().takeSnapshot(); + settings.setValue("ss1x", ss1x); } // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -