mirror of https://github.com/stella-emu/stella.git
Partially reverted FrameBuffer changes, since it *still* didn't fully
fix issues in Ubuntu Unity, and caused CPU usage to spike to 100% in all other tested platforms. So for now, I'm putting it back to low CPU usage for all other platforms (Linux w/o Unity, OSX, Windows, etc), and treating this as a Unity bug (which isn't unheard of). git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2935 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
parent
da86a3b175
commit
2dccc2df15
|
@ -312,8 +312,6 @@ void FrameBuffer::update()
|
||||||
|
|
||||||
case EventHandler::S_PAUSE:
|
case EventHandler::S_PAUSE:
|
||||||
{
|
{
|
||||||
drawTIA();
|
|
||||||
|
|
||||||
// Show a pause message every 5 seconds
|
// Show a pause message every 5 seconds
|
||||||
if(myPausedCount++ >= 7*myOSystem.frameRate())
|
if(myPausedCount++ >= 7*myOSystem.frameRate())
|
||||||
{
|
{
|
||||||
|
@ -325,28 +323,26 @@ void FrameBuffer::update()
|
||||||
|
|
||||||
case EventHandler::S_MENU:
|
case EventHandler::S_MENU:
|
||||||
{
|
{
|
||||||
drawTIA();
|
myOSystem.menu().draw();
|
||||||
myOSystem.menu().draw(isDoubleBuffered());
|
|
||||||
break; // S_MENU
|
break; // S_MENU
|
||||||
}
|
}
|
||||||
|
|
||||||
case EventHandler::S_CMDMENU:
|
case EventHandler::S_CMDMENU:
|
||||||
{
|
{
|
||||||
drawTIA();
|
myOSystem.commandMenu().draw();
|
||||||
myOSystem.commandMenu().draw(isDoubleBuffered());
|
|
||||||
break; // S_CMDMENU
|
break; // S_CMDMENU
|
||||||
}
|
}
|
||||||
|
|
||||||
case EventHandler::S_LAUNCHER:
|
case EventHandler::S_LAUNCHER:
|
||||||
{
|
{
|
||||||
myOSystem.launcher().draw(isDoubleBuffered());
|
myOSystem.launcher().draw();
|
||||||
break; // S_LAUNCHER
|
break; // S_LAUNCHER
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef DEBUGGER_SUPPORT
|
#ifdef DEBUGGER_SUPPORT
|
||||||
case EventHandler::S_DEBUGGER:
|
case EventHandler::S_DEBUGGER:
|
||||||
{
|
{
|
||||||
myOSystem.debugger().draw(isDoubleBuffered());
|
myOSystem.debugger().draw();
|
||||||
break; // S_DEBUGGER
|
break; // S_DEBUGGER
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue