[Scummvm-cvs-logs] SF.net SVN: scummvm:[33678] scummvm/trunk/engines/kyra/lol.cpp

eriktorbjorn at users.sourceforge.net eriktorbjorn at users.sourceforge.net
Thu Aug 7 15:36:03 CEST 2008


Revision: 33678
          http://scummvm.svn.sourceforge.net/scummvm/?rev=33678&view=rev
Author:   eriktorbjorn
Date:     2008-08-07 13:36:02 +0000 (Thu, 07 Aug 2008)

Log Message:
-----------
Initialise the _sound object. Otherwise, ScummVM crashes for me if I use a native
MIDI driver instead of Adlib.

Modified Paths:
--------------
    scummvm/trunk/engines/kyra/lol.cpp

Modified: scummvm/trunk/engines/kyra/lol.cpp
===================================================================
--- scummvm/trunk/engines/kyra/lol.cpp	2008-08-07 13:19:00 UTC (rev 33677)
+++ scummvm/trunk/engines/kyra/lol.cpp	2008-08-07 13:36:02 UTC (rev 33678)
@@ -87,6 +87,9 @@
 	_screen->setAnimBlockPtr(10000);
 	_screen->setScreenDim(0);
 
+	if (!_sound->init())
+		error("Couldn't init sound");
+
 	return 0;
 }
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list