Index: apps/plugins/doom/g_game.c
===================================================================
RCS file: /cvsroot/rockbox/apps/plugins/doom/g_game.c,v
retrieving revision 1.3
diff -u -r1.3 g_game.c
--- apps/plugins/doom/g_game.c	16 Apr 2006 23:14:04 -0000	1.3
+++ apps/plugins/doom/g_game.c	29 Aug 2006 17:03:37 -0000
@@ -2770,7 +2770,7 @@
       int endtime = I_GetTime ();
       // killough -- added fps information and made it work for longer demos:
       unsigned realtics = endtime-starttime;
-      int fd=open("/games/doom/timedemo.txt",O_WRONLY | O_CREAT);
+      int fd=open(GAMEBASE "timedemo.txt",O_WRONLY | O_CREAT);
       fprintf (fd,"Timed %d gametics in %d realtics = %d frames per second",
                (unsigned) gametic, realtics,
                (unsigned) gametic * (double) TICRATE / realtics);
Index: apps/plugins/doom/rockmacros.h
===================================================================
RCS file: /cvsroot/rockbox/apps/plugins/doom/rockmacros.h,v
retrieving revision 1.5
diff -u -r1.5 rockmacros.h
--- apps/plugins/doom/rockmacros.h	15 Apr 2006 22:08:36 -0000	1.5
+++ apps/plugins/doom/rockmacros.h	29 Aug 2006 17:03:38 -0000
@@ -87,7 +87,7 @@
 inline void* memcpy(void* dst, const void* src, size_t size);
 
 #define PACKEDATTR __attribute__((packed)) // Needed for a few things
-#define GAMEBASE "/games/doom/"
+#define GAMEBASE ROCKBOX_DIR "/doom/"
 //#define SIMPLECHECKS
 #define NO_PREDEFINED_LUMPS
 #define TABLES_AS_LUMPS // This frees up alot of space in the plugin buffer
