HUGO: When erroring out due to a missing file, tell the user which file is missing

This commit is contained in:
Max Horn 2011-03-24 14:09:22 +01:00
parent b3471354d0
commit 754c250c65

View File

@ -532,7 +532,7 @@ void FileManager::printBootText() {
warning("printBootText - Skipping as H1 Dos may be a freeware");
return;
} else {
error("Missing startup file");
error("Missing startup file '%s'", getBootFilename());
}
}
@ -574,7 +574,7 @@ void FileManager::readBootFile() {
_vm->_boot.registered = kRegFreeware;
return;
} else {
error("Missing startup file");
error("Missing startup file '%s'", getBootFilename());
}
}