Fixed the clicking sound that occured when '-accurate 0' was specified

and Pause was pressed.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@134 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
stephena 2002-11-11 21:11:48 +00:00
parent a84abcb1bf
commit 48cef96017
1 changed files with 2 additions and 3 deletions

View File

@ -13,7 +13,7 @@
// See the file "license" for information on usage and redistribution of
// this file, and for a DISCLAIMER OF ALL WARRANTIES.
//
// $Id: mainX11.cxx,v 1.30 2002-11-10 19:43:17 stephena Exp $
// $Id: mainX11.cxx,v 1.31 2002-11-11 21:11:48 stephena Exp $
//============================================================================
#include <fstream>
@ -1585,7 +1585,6 @@ int main(int argc, char* argv[])
theConsole->mediaSource().update();
sound.updateSound(theConsole->mediaSource());
updateDisplay(theConsole->mediaSource());
handleEvents();
// Now, waste time if we need to so that we are at the desired frame rate
for(;;)
@ -1624,8 +1623,8 @@ int main(int argc, char* argv[])
if(!thePauseIndicator)
{
theConsole->mediaSource().update();
}
sound.updateSound(theConsole->mediaSource());
}
updateDisplay(theConsole->mediaSource());
handleEvents();