diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/plugins/doom/g_game.c | 2 | ||||
-rw-r--r-- | apps/plugins/doom/rockmacros.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/doom/g_game.c b/apps/plugins/doom/g_game.c index b5944eae54..cd6ab45ade 100644 --- a/apps/plugins/doom/g_game.c +++ b/apps/plugins/doom/g_game.c | |||
@@ -2770,7 +2770,7 @@ boolean G_CheckDemoStatus (void) | |||
2770 | int endtime = I_GetTime (); | 2770 | int endtime = I_GetTime (); |
2771 | // killough -- added fps information and made it work for longer demos: | 2771 | // killough -- added fps information and made it work for longer demos: |
2772 | unsigned realtics = endtime-starttime; | 2772 | unsigned realtics = endtime-starttime; |
2773 | int fd=open("/games/doom/timedemo.txt",O_WRONLY | O_CREAT); | 2773 | int fd=open(GAMEBASE "timedemo.txt",O_WRONLY | O_CREAT); |
2774 | fdprintf (fd,"Timed %d gametics in %d realtics = %d frames per second", | 2774 | fdprintf (fd,"Timed %d gametics in %d realtics = %d frames per second", |
2775 | (unsigned) gametic, realtics, | 2775 | (unsigned) gametic, realtics, |
2776 | (unsigned) gametic * (double) TICRATE / realtics); | 2776 | (unsigned) gametic * (double) TICRATE / realtics); |
diff --git a/apps/plugins/doom/rockmacros.h b/apps/plugins/doom/rockmacros.h index 7be7c39ea1..901aa5513d 100644 --- a/apps/plugins/doom/rockmacros.h +++ b/apps/plugins/doom/rockmacros.h | |||
@@ -89,7 +89,7 @@ char *my_strtok( char * s, const char * delim ); | |||
89 | inline void* memcpy(void* dst, const void* src, size_t size); | 89 | inline void* memcpy(void* dst, const void* src, size_t size); |
90 | 90 | ||
91 | #define PACKEDATTR __attribute__((packed)) // Needed for a few things | 91 | #define PACKEDATTR __attribute__((packed)) // Needed for a few things |
92 | #define GAMEBASE "/games/doom/" | 92 | #define GAMEBASE ROCKBOX_DIR "/doom/" |
93 | //#define SIMPLECHECKS | 93 | //#define SIMPLECHECKS |
94 | #define NO_PREDEFINED_LUMPS | 94 | #define NO_PREDEFINED_LUMPS |
95 | #define TABLES_AS_LUMPS // This frees up alot of space in the plugin buffer | 95 | #define TABLES_AS_LUMPS // This frees up alot of space in the plugin buffer |