Remove FS_Read2().

Functionally the same as FS_Read().
Streaming functionality was removed in 672cfbf16f but flag remained.
This commit is contained in:
SmileTheory 2017-03-17 04:21:11 -07:00
parent b173ac0599
commit d4e1a01f33
7 changed files with 5 additions and 39 deletions

View file

@ -543,7 +543,7 @@ void SV_BotInitBotLib(void) {
// file system access
botlib_import.FS_FOpenFile = FS_FOpenFileByMode;
botlib_import.FS_Read = FS_Read2;
botlib_import.FS_Read = FS_Read;
botlib_import.FS_Write = FS_Write;
botlib_import.FS_FCloseFile = FS_FCloseFile;
botlib_import.FS_Seek = FS_Seek;

View file

@ -325,7 +325,7 @@ intptr_t SV_GameSystemCalls( intptr_t *args ) {
case G_FS_FOPEN_FILE:
return FS_FOpenFileByMode( VMA(1), VMA(2), args[3] );
case G_FS_READ:
FS_Read2( VMA(1), args[2], args[3] );
FS_Read( VMA(1), args[2], args[3] );
return 0;
case G_FS_WRITE:
FS_Write( VMA(1), args[2], args[3] );