Just attempting to figure out why initializing sound before video works

with OpenGL ATI cards in Win32, but the other way around doesn't.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1645 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
stephena 2009-01-20 16:41:15 +00:00
parent c1557037a5
commit f07352623a
1 changed files with 2 additions and 2 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: SoundSDL.cxx,v 1.46 2009-01-19 21:19:59 stephena Exp $ // $Id: SoundSDL.cxx,v 1.47 2009-01-20 16:41:15 stephena Exp $
//============================================================================ //============================================================================
#ifdef SOUND_SUPPORT #ifdef SOUND_SUPPORT
@ -83,7 +83,7 @@ void SoundSDL::initialize()
myRegWriteQueue.clear(); myRegWriteQueue.clear();
myTIASound.reset(); myTIASound.reset();
if(!((SDL_WasInit(SDL_INIT_AUDIO) & SDL_INIT_AUDIO) > 0)) if(SDL_WasInit(SDL_INIT_AUDIO) == 0)
{ {
myIsInitializedFlag = false; myIsInitializedFlag = false;
myIsMuted = false; myIsMuted = false;