[Scummvm-cvs-logs] CVS: scummvm-new/scumm bundle.cpp,1.1.1.1,1.2
Max Horn
fingolfin at users.sourceforge.net
Sun Aug 25 03:51:03 CEST 2002
Update of /cvsroot/scummvm/scummvm-new/scumm
In directory usw-pr-cvs1:/tmp/cvs-serv7513/scumm
Modified Files:
bundle.cpp
Log Message:
fixed some endian issues in the new SMUSH decoder; cleanup
Index: bundle.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm-new/scumm/bundle.cpp,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- bundle.cpp 21 Aug 2002 16:07:26 -0000 1.1.1.1
+++ bundle.cpp 25 Aug 2002 10:50:18 -0000 1.2
@@ -50,7 +50,7 @@
_voiceFile = fopen(filename, "rb");
if (_voiceFile == NULL) {
- printf("Bundle: Can't open voice bundle file: %s\n", filename);
+ warning("Bundle: Can't open voice bundle file: %s", filename);
return false;
}
@@ -93,7 +93,7 @@
_musicFile = fopen(filename, "rb");
if (_musicFile == NULL) {
- printf("Bundle: Can't open music bundle file: %s\n", filename);
+ warning("Bundle: Can't open music bundle file: %s", filename);
return false;
}
@@ -132,7 +132,7 @@
byte *comp_input, *comp_output;
if (_voiceFile == NULL) {
- printf("Bundle: voice file is not open !\n");
+ warning("Bundle: voice file is not open!");
return 0;
}
@@ -182,7 +182,7 @@
byte *comp_input;
if (_musicFile == NULL) {
- printf("Bundle: music file is not open !\n");
+ warning("Bundle: music file is not open!");
return 0;
}
@@ -228,7 +228,7 @@
int32 final_size = 0, i;
if (_voiceFile == NULL) {
- printf("Bundle: voice file is not open !\n");
+ warning("Bundle: voice file is not open!");
return 0;
}
@@ -246,7 +246,7 @@
int32 final_size = 0, i;
if (_voiceFile == NULL) {
- printf("Bundle: voice file is not open !\n");
+ warning("Bundle: voice file is not open!");
return 0;
}
@@ -262,7 +262,7 @@
int32 Bundle::getNumberOfMusicSamplesByIndex(int32 index)
{
if (_musicFile == NULL) {
- printf("Bundle: music file is not open !\n");
+ warning("Bundle: music file is not open!");
return 0;
}
@@ -276,7 +276,7 @@
int32 number = 0, i;
if (_musicFile == NULL) {
- printf("Bundle: music file is not open !\n");
+ warning("Bundle: music file is not open!");
return 0;
}
@@ -651,7 +651,7 @@
break;
default:
- printf("Bundle: Unknown codec %d!\n", (int)codec);
+ warning("Bundle: Unknown codec %d!", (int)codec);
output_size = 0;
break;
}
More information about the Scummvm-git-logs
mailing list