From e3070e708816c3a6ab61816c9cd0e242763b6aa2 Mon Sep 17 00:00:00 2001 From: Steven Fuller Date: Sat, 3 May 2008 22:18:51 -0700 Subject: Removed UseOldChunkLoader. --- src/win95/mishchnk.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'src/win95/mishchnk.cpp') diff --git a/src/win95/mishchnk.cpp b/src/win95/mishchnk.cpp index 4c92dd7..649eed2 100644 --- a/src/win95/mishchnk.cpp +++ b/src/win95/mishchnk.cpp @@ -396,13 +396,6 @@ File_Chunk::File_Chunk(const char * file_name) return; } - #if UseOldChunkLoader - if (strncmp (id_buffer, "REBINFLF", 8)) { - error_code = CHUNK_FAILED_ON_LOAD_NOT_RECOGNISED; - fclose(rif_file); - return; - } - #else /* KJL 16:46:14 19/09/98 - check for a compressed rif */ if (!strncmp (id_buffer, COMPRESSED_RIF_IDENTIFIER, 8)) { @@ -414,7 +407,7 @@ File_Chunk::File_Chunk(const char * file_name) fclose(rif_file); return; } - #endif + buffer = new char [file_size]; /* KJL 17:57:44 19/09/98 - if the rif is compressed, we must load the whole -- cgit v1.3