From 1a704f587c0e023c13c19801f1186e3293672f3f Mon Sep 17 00:00:00 2001 From: peter1138 Date: Thu, 25 May 2006 09:57:27 +0000 Subject: (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. --- fileio.c | 2 +- sound.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fileio.c b/fileio.c index fd1008d15..06e474a15 100644 --- a/fileio.c +++ b/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; diff --git a/sound.c b/sound.c index 8a487ca91..3e26ebb65 100644 --- a/sound.c +++ b/sound.c @@ -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 -- cgit v1.2.3-54-g00ecf