diff options
author | Torbjörn Andersson | 2003-08-15 15:17:02 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2003-08-15 15:17:02 +0000 |
commit | 2e38b49d276438c44924e537b4dd6a4533f4d073 (patch) | |
tree | 2c65e38a7b9ecb63e93027623c5b037dddeed2e8 /sky | |
parent | b82c80a08513ad52acce52bb402e6fee33410d27 (diff) | |
download | scummvm-rg350-2e38b49d276438c44924e537b4dd6a4533f4d073.tar.gz scummvm-rg350-2e38b49d276438c44924e537b4dd6a4533f4d073.tar.bz2 scummvm-rg350-2e38b49d276438c44924e537b4dd6a4533f4d073.zip |
Replaced printf()s with debug() and warning().
svn-id: r9710
Diffstat (limited to 'sky')
-rw-r--r-- | sky/disk.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sky/disk.cpp b/sky/disk.cpp index 4988b85fa6..7b67e22ff7 100644 --- a/sky/disk.cpp +++ b/sky/disk.cpp @@ -122,7 +122,7 @@ uint8 *SkyDisk::loadFile(uint16 fileNr, uint8 *dest) { filePtr = getFileInfo(fileNr); if (filePtr == NULL) { - printf("File %d not found", fileNr); + debug(1, "File %d not found", fileNr); return NULL; } @@ -159,7 +159,7 @@ uint8 *SkyDisk::loadFile(uint16 fileNr, uint8 *dest) { bytesRead = _dataDiskHandle->read(_fileDest, 1 * _fileSize); if (bytesRead != (int32)_fileSize) - printf("ERROR: Unable to read %d bytes from datadisk (%d bytes read)", _fileSize, bytesRead); + warning("ERROR: Unable to read %d bytes from datadisk (%d bytes read)", _fileSize, bytesRead); cflag = (uint8)((_fileFlags >> (23)) & 0x1); |