summaryrefslogtreecommitdiff
path: root/src/d_iwad.c
diff options
context:
space:
mode:
authorSimon Howard2007-08-08 02:00:53 +0000
committerSimon Howard2007-08-08 02:00:53 +0000
commit7c2a5dfb1bac2eb0272d027e357229600d077292 (patch)
treea782f9f706a396578b821ac11b5d45e031cad4b2 /src/d_iwad.c
parentab71797564edda976ed31275b8e65e8975f06860 (diff)
downloadchocolate-doom-7c2a5dfb1bac2eb0272d027e357229600d077292.tar.gz
chocolate-doom-7c2a5dfb1bac2eb0272d027e357229600d077292.tar.bz2
chocolate-doom-7c2a5dfb1bac2eb0272d027e357229600d077292.zip
Add temporary debugging messages for Steam support.
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 948
Diffstat (limited to 'src/d_iwad.c')
-rw-r--r--src/d_iwad.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/d_iwad.c b/src/d_iwad.c
index 4568c952..726b8ed8 100644
--- a/src/d_iwad.c
+++ b/src/d_iwad.c
@@ -285,6 +285,8 @@ static void CheckSteamEdition(void)
return;
}
+ fprintf(stderr, "Found Steam in %s\n", install_path);
+
for (i=0; i<arrlen(steam_install_subdirs); ++i)
{
subpath = malloc(strlen(install_path)
@@ -294,10 +296,12 @@ static void CheckSteamEdition(void)
if (M_FileExists(subpath))
{
+ fprintf(stderr, "Steam IWADs in %s\n", subpath);
AddIWADDir(subpath);
}
else
{
+ fprintf(stderr, "%s not found\n", subpath);
free(subpath);
}
}