Skip to content

Commit

Permalink
Debug: Print which path was provided via the "-iwad" option
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Dec 11, 2012
1 parent d5748a9 commit 267aa14
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doomsday/engine/src/dd_main.cpp
Expand Up @@ -1793,6 +1793,8 @@ boolean DD_Init(void)
directory_t* dir = Dir_FromText(CommandLine_PathAt(p));
de::Uri uri = de::Uri::fromNativeDirPath(Dir_Path(dir), RC_PACKAGE);

LOG_DEBUG("User supplied IWAD path: \"%s\"") << Dir_Path(dir);

scheme.addSearchPath(SearchPath(uri, SearchPath::NoDescend));

Dir_Delete(dir);
Expand Down

0 comments on commit 267aa14

Please sign in to comment.