mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
SCI: Cleanup warning messages
This commit is contained in:
1 parent
c1256d2fc3
commit
29ebd43d2e
5 files changed
+6
-6
No files matched your search
@@ -304,7 +304,7 @@ void Console::postEnter() {
|
||||
playVideo(*videoDecoder);
|
||||
_engine->_gfxCursor->kernelShow();
|
||||
} else
|
||||
warning("Could not play video %s\n", _videoFile.toString(Common::Path::kNativeSeparator).c_str());
|
||||
warning("Could not play video %s", _videoFile.toString(Common::Path::kNativeSeparator).c_str());
|
||||
|
||||
_videoFile.clear();
|
||||
_videoFrameDelay = 0;
|
||||
|
||||
@@ -246,7 +246,7 @@ ADDetectedGame SciMetaEngineDetection::fallbackDetect(const FileMap &allFiles, c
|
||||
|
||||
if (ConfMan.hasKey("always_run_fallback_detection_extern")) {
|
||||
if (ConfMan.getBool("always_run_fallback_detection_extern") == false) {
|
||||
warning("SCI: Fallback detection is disabled.");
|
||||
warning("SCI: Fallback detection is disabled");
|
||||
return ADDetectedGame();
|
||||
}
|
||||
}
|
||||
@@ -255,7 +255,7 @@ ADDetectedGame SciMetaEngineDetection::fallbackDetect(const FileMap &allFiles, c
|
||||
if (!enginePlugin) {
|
||||
static bool warn = true;
|
||||
if (warn) {
|
||||
warning("Engine plugin for SCI not present. Fallback detection is disabled.");
|
||||
warning("Engine plugin for SCI not present. Fallback detection is disabled");
|
||||
warn = false;
|
||||
}
|
||||
return ADDetectedGame();
|
||||
|
||||
@@ -626,7 +626,7 @@ void Kernel::dissectScript(int scriptNumber, Vocabulary *vocab) {
|
||||
Resource *script = _resMan->findResource(ResourceId(kResourceTypeScript, scriptNumber), false);
|
||||
|
||||
if (!script) {
|
||||
warning("dissectScript(): Script not found!\n");
|
||||
warning("dissectScript(): Script not found");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -384,7 +384,7 @@ Common::Error SciEngine::run() {
|
||||
// we try to find the super class address of the game object, we can't do that earlier
|
||||
const Object *gameObject = segMan->getObject(_gameObjectAddress);
|
||||
if (!gameObject) {
|
||||
warning("Could not get game object, aborting...");
|
||||
warning("Could not get game object, aborting");
|
||||
return Common::kUnknownError;
|
||||
}
|
||||
|
||||
|
||||
@@ -397,7 +397,7 @@ MidiPlayer_Casio::~MidiPlayer_Casio() {
|
||||
|
||||
int MidiPlayer_Casio::open(ResourceManager* resMan) {
|
||||
if (_version < SCI_VERSION_0_LATE || _version > SCI_VERSION_01) {
|
||||
warning("CASIO: Unsupported SCI version.");
|
||||
warning("CASIO: Unsupported SCI version");
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user