mirror of https://github.com/stella-emu/stella.git
Fixed crash in OSX. I don't know why it was appearing in OSX only, but
this is the better way to do it anyway. git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1525 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
parent
bd90840ded
commit
20dd5c98e9
|
@ -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: OSystem.cxx,v 1.127 2008-05-20 13:42:50 stephena Exp $
|
// $Id: OSystem.cxx,v 1.128 2008-05-21 14:50:41 stephena Exp $
|
||||||
//============================================================================
|
//============================================================================
|
||||||
|
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
@ -321,6 +321,7 @@ bool OSystem::createFrameBuffer(bool showmessage)
|
||||||
case EventHandler::S_MENU:
|
case EventHandler::S_MENU:
|
||||||
case EventHandler::S_CMDMENU:
|
case EventHandler::S_CMDMENU:
|
||||||
myConsole->initializeVideo();
|
myConsole->initializeVideo();
|
||||||
|
myFrameBuffer->showFrameStats(mySettings->getBool("stats"));
|
||||||
break; // S_EMULATE, S_PAUSE, S_MENU, S_CMDMENU
|
break; // S_EMULATE, S_PAUSE, S_MENU, S_CMDMENU
|
||||||
|
|
||||||
case EventHandler::S_LAUNCHER:
|
case EventHandler::S_LAUNCHER:
|
||||||
|
@ -358,7 +359,6 @@ bool OSystem::createFrameBuffer(bool showmessage)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
myFrameBuffer->showFrameStats(mySettings->getBool("stats"));
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue