mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-11 14:42:05 +08:00
filesystem: make g_api const
This commit is contained in:
@@ -2999,7 +2999,7 @@ static qboolean FS_InitInterface( int version, fs_interface_t *engfuncs )
|
||||
return true;
|
||||
}
|
||||
|
||||
fs_api_t g_api =
|
||||
const fs_api_t g_api =
|
||||
{
|
||||
FS_InitStdio,
|
||||
FS_ShutdownStdio,
|
||||
|
||||
@@ -123,7 +123,7 @@ extern fs_interface_t g_engfuncs;
|
||||
extern qboolean fs_ext_path;
|
||||
extern char fs_rodir[MAX_SYSPATH];
|
||||
extern char fs_rootdir[MAX_SYSPATH];
|
||||
extern fs_api_t g_api;
|
||||
extern const fs_api_t g_api;
|
||||
extern const fs_archive_t g_archives[];
|
||||
|
||||
#define GI FI.GameInfo
|
||||
|
||||
Reference in New Issue
Block a user