[Scummvm-cvs-logs] CVS: scummvm scummvm.cpp,1.170,1.171
Max Horn
fingolfin at users.sourceforge.net
Fri Jul 12 15:11:14 CEST 2002
Update of /cvsroot/scummvm/scummvm
In directory usw-pr-cvs1:/tmp/cvs-serv403
Modified Files:
scummvm.cpp
Log Message:
small indention fix
Index: scummvm.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scummvm.cpp,v
retrieving revision 1.170
retrieving revision 1.171
diff -u -d -r1.170 -r1.171
--- scummvm.cpp 10 Jul 2002 22:49:41 -0000 1.170
+++ scummvm.cpp 12 Jul 2002 22:10:24 -0000 1.171
@@ -1380,7 +1380,7 @@
_minHeapThreshold = 400000;
/* Create a primary virtual screen */
- _videoBuffer = (byte*)calloc(328*200, 1);
+ _videoBuffer = (byte *)calloc(328*200, 1);
allocResTypeData(rtBuffer, MKID('NONE'), 10, "buffer", 0);
initVirtScreen(0, 0, 0, 320, 200, false, false);
@@ -1468,13 +1468,13 @@
/* bind the mixer to the system => mixer will be invoked
* automatically when samples need to be generated */
if (!scumm->_mixer->bind_to_system(syst)) {
- warning("Sound initialization failed");
- if (detector->_use_adlib) {
- detector->_use_adlib = false;
- detector->_midi_driver = MD_NULL;
- warning("Adlib music was selected, switching to midi null driver");
- }
- }
+ warning("Sound initialization failed");
+ if (detector->_use_adlib) {
+ detector->_use_adlib = false;
+ detector->_midi_driver = MD_NULL;
+ warning("Adlib music was selected, switching to midi null driver");
+ }
+ }
scumm->_mixer->set_volume(128);
/* HACK !!! */
More information about the Scummvm-git-logs
mailing list