Open main menu

Difference between revisions of "HOWTO-Engines"

4 bytes added ,  18:55, 1 June 2011
→‎Example: engines/quux/detection.cpp: Replace invalid error constant
(→‎Example: engines/quux/quux.h: debug levels -> channels)
(→‎Example: engines/quux/detection.cpp: Replace invalid error constant)
Line 315: Line 315:
Common::FSNode dir(ConfMan.get("path"));
Common::FSNode dir(ConfMan.get("path"));
if (!dir.getChildren(fslist, Common::FSNode::kListAll)) {
if (!dir.getChildren(fslist, Common::FSNode::kListAll)) {
return Common::kInvalidPathError;
return Common::kNoGameDataFoundError;
}
}
   
   
178

edits