diff options
author | peter1138 <peter1138@openttd.org> | 2006-05-25 09:57:27 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2006-05-25 09:57:27 +0000 |
commit | 1a704f587c0e023c13c19801f1186e3293672f3f (patch) | |
tree | d25946a33c533fc2502619a4323b78d5bf91656b | |
parent | a4dc75e8f433c24f1543d8428db90117a452a681 (diff) | |
download | openttd-1a704f587c0e023c13c19801f1186e3293672f3f.tar.xz |
(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.
-rw-r--r-- | fileio.c | 2 | ||||
-rw-r--r-- | sound.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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; @@ -22,7 +22,7 @@ typedef struct FileEntry { static uint _file_count; static FileEntry* _files; -#define SOUND_SLOT 31 +#define SOUND_SLOT 63 // Number of levels of panning per side #define PANNING_LEVELS 16 |