forked from len0rd/rockbox
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
This commit is contained in:
parent
20171c181f
commit
028e8e9ee2
3 changed files with 38 additions and 36 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue