diff options
| author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2007-01-13 15:16:10 +0000 |
|---|---|---|
| committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2007-01-13 15:16:10 +0000 |
| commit | 028e8e9ee25048e9413907b5cae9d04c6a7c6e47 (patch) | |
| tree | 231da5b1176d00896e07000ea72604958b75e5cb /apps/plugins | |
| parent | 20171c181fb97475b0ec8fd54eb9e0e461229994 (diff) | |
| download | rockbox-028e8e9ee25048e9413907b5cae9d04c6a7c6e47.zip rockbox-028e8e9ee25048e9413907b5cae9d04c6a7c6e47.tar.gz rockbox-028e8e9ee25048e9413907b5cae9d04c6a7c6e47.tar.bz2 rockbox-028e8e9ee25048e9413907b5cae9d04c6a7c6e47.tar.xz | |
Change the gamedata folder for doom to /.rockbox/doom to go in line with other game plugins. Closes FS#5903. Adjust manual too.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11998 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins')
| -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 b5944ea..cd6ab45 100644 --- a/apps/plugins/doom/g_game.c +++ b/apps/plugins/doom/g_game.c @@ -2770,7 +2770,7 @@ boolean G_CheckDemoStatus (void) 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); fdprintf (fd,"Timed %d gametics in %d realtics = %d frames per second", (unsigned) gametic, realtics, (unsigned) gametic * (double) TICRATE / realtics); diff --git a/apps/plugins/doom/rockmacros.h b/apps/plugins/doom/rockmacros.h index 7be7c39..901aa55 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 ); 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 |