shithub: choc

Download patch

ref: 7c2a5dfb1bac2eb0272d027e357229600d077292
parent: ab71797564edda976ed31275b8e65e8975f06860
author: Simon Howard <fraggle@gmail.com>
date: Tue Aug 7 22:00:53 EDT 2007

Add temporary debugging messages for Steam support.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 948

--- a/src/d_iwad.c
+++ b/src/d_iwad.c
@@ -285,6 +285,8 @@
         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 @@
 
         if (M_FileExists(subpath))
         {
+            fprintf(stderr, "Steam IWADs in %s\n", subpath);
             AddIWADDir(subpath);
         }
         else
         {
+            fprintf(stderr, "%s not found\n", subpath);
             free(subpath);
         }
     }