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
This commit is contained in:
stephena 2013-09-16 14:37:44 +00:00
parent 86764bf160
commit cda1e301e2
1 changed files with 5 additions and 0 deletions

View File

@ -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);
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -