mirror of https://github.com/OpenTTD/OpenTTD
(svn r4975) - Codechange: increase the number of file handles from 32 to 64 (arbitrary powers of 2!) to allow more GRF files to be loaded.
parent
a4dc75e8f4
commit
1a704f587c
2
fileio.c
2
fileio.c
|
@ -20,7 +20,7 @@ typedef struct {
|
|||
byte *buffer, *buffer_end;
|
||||
uint32 pos;
|
||||
FILE *cur_fh;
|
||||
FILE *handles[32];
|
||||
FILE *handles[64];
|
||||
byte buffer_start[512];
|
||||
} Fio;
|
||||
|
||||
|
|
Loading…
Reference in New Issue