Changeset - r3898:4ae21ea0fef1
[Not reviewed]
master
0 2 0
peter1138 - 18 years ago 2006-05-25 09:57:27
peter1138@openttd.org
(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.
2 files changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
fileio.c
Show inline comments
 
@@ -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;
 

	
sound.c
Show inline comments
 
@@ -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
 

	
0 comments (0 inline, 0 general)