From: Carsten W. <ca...@us...> - 2005-02-07 17:23:59
|
Update of /cvsroot/jake2/jake2/src/jake2/sound In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2579/src/jake2/sound Modified Files: S.java Log Message: solves the "dedicated mode" problem. Index: S.java =================================================================== RCS file: /cvsroot/jake2/jake2/src/jake2/sound/S.java,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** S.java 6 Feb 2005 19:19:03 -0000 1.9 --- S.java 7 Feb 2005 17:23:50 -0000 1.10 *************** *** 47,53 **** try { Class.forName("jake2.sound.DummyDriver"); } catch (Throwable e) { Com.DPrintf("could not init dummy sound driver class."); - // ignore the lwjgl driver if runtime not in classpath } --- 47,55 ---- try { Class.forName("jake2.sound.DummyDriver"); + // initialize impl with the default value + // this is necessary for dedicated mode + useDriver("dummy"); } catch (Throwable e) { Com.DPrintf("could not init dummy sound driver class."); } |