Fixed palette not being loaded when entering the debugger.

git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1159 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
stephena 2006-11-27 22:57:09 +00:00
parent c833852131
commit 08863d0ba9
1 changed files with 2 additions and 1 deletions

View File

@ -13,7 +13,7 @@
// See the file "license" for information on usage and redistribution of // See the file "license" for information on usage and redistribution of
// this file, and for a DISCLAIMER OF ALL WARRANTIES. // this file, and for a DISCLAIMER OF ALL WARRANTIES.
// //
// $Id: EventHandler.cxx,v 1.172 2006-11-26 16:58:21 stephena Exp $ // $Id: EventHandler.cxx,v 1.173 2006-11-27 22:57:09 stephena Exp $
//============================================================================ //============================================================================
#include <sstream> #include <sstream>
@ -2236,6 +2236,7 @@ bool EventHandler::enterDebugMode()
setEventState(S_DEBUGGER); setEventState(S_DEBUGGER);
myOSystem->createFrameBuffer(); myOSystem->createFrameBuffer();
myOSystem->console().setPalette(myOSystem->settings().getString("palette"));
myOverlay->reStack(); myOverlay->reStack();
myOSystem->frameBuffer().setCursorState(); myOSystem->frameBuffer().setCursorState();
myEvent->clear(); myEvent->clear();