aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2002-07-12 22:10:24 +0000
committerMax Horn2002-07-12 22:10:24 +0000
commitd16bf9a102e812cb7a828d7f163fffa9a802737e (patch)
tree4f342ab10bd603114826e470bc6170159badc9ed
parent897a404e6ec4da496da89353904fdf09a2939bf3 (diff)
downloadscummvm-rg350-d16bf9a102e812cb7a828d7f163fffa9a802737e.tar.gz
scummvm-rg350-d16bf9a102e812cb7a828d7f163fffa9a802737e.tar.bz2
scummvm-rg350-d16bf9a102e812cb7a828d7f163fffa9a802737e.zip
small indention fix
svn-id: r4526
-rw-r--r--scummvm.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/scummvm.cpp b/scummvm.cpp
index 73939f236b..14b691997e 100644
--- a/scummvm.cpp
+++ b/scummvm.cpp
@@ -1380,7 +1380,7 @@ void Scumm::launch()
_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 @@ Scumm *Scumm::createFromDetector(GameDetector *detector, OSystem *syst)
/* 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 !!! */