From 48cef960178fa9e0f2e6c7ff22d4d00e71fb295c Mon Sep 17 00:00:00 2001 From: stephena Date: Mon, 11 Nov 2002 21:11:48 +0000 Subject: [PATCH] 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 --- stella/src/ui/x11/mainX11.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/stella/src/ui/x11/mainX11.cxx b/stella/src/ui/x11/mainX11.cxx index f9f318c6d..8d717a776 100644 --- a/stella/src/ui/x11/mainX11.cxx +++ b/stella/src/ui/x11/mainX11.cxx @@ -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 @@ -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()); } - sound.updateSound(theConsole->mediaSource()); updateDisplay(theConsole->mediaSource()); handleEvents();