Browse Source

filesystem: turn unused caseinsensitive argument in InitStdio into a reserved argument (set to true by default)

pull/2/head
Alibek Omarov 2 years ago
parent
commit
e2540bd446
  1. 2
      filesystem/filesystem.c
  2. 2
      filesystem/filesystem.h

2
filesystem/filesystem.c

@ -1327,7 +1327,7 @@ void _Sys_Error( const char *fmt, ... )
FS_Init FS_Init
================ ================
*/ */
qboolean FS_InitStdio( qboolean caseinsensitive, const char *rootdir, const char *basedir, const char *gamedir, const char *rodir ) qboolean FS_InitStdio( qboolean unused_set_to_true, const char *rootdir, const char *basedir, const char *gamedir, const char *rodir )
{ {
stringlist_t dirs; stringlist_t dirs;
qboolean hasBaseDir = false; qboolean hasBaseDir = false;

2
filesystem/filesystem.h

@ -129,7 +129,7 @@ typedef void (*fs_event_callback_t)( const char *path );
typedef struct fs_api_t typedef struct fs_api_t
{ {
qboolean (*InitStdio)( qboolean caseinsensitive, const char *rootdir, const char *basedir, const char *gamedir, const char *rodir ); qboolean (*InitStdio)( qboolean unused_set_to_true, const char *rootdir, const char *basedir, const char *gamedir, const char *rodir );
void (*ShutdownStdio)( void ); void (*ShutdownStdio)( void );
// search path utils // search path utils

Loading…
Cancel
Save