From 94ad335ea8404b49581f47515929ec0b8d9ca3ff Mon Sep 17 00:00:00 2001 From: David Griffith Date: Thu, 16 Aug 2012 02:08:14 -0700 Subject: [PATCH] Putting back things --- src/blorb/blorblib.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/blorb/blorblib.c b/src/blorb/blorblib.c index b0d4f71..0ea93a0 100644 --- a/src/blorb/blorblib.c +++ b/src/blorb/blorblib.c @@ -95,18 +95,10 @@ bb_err_t bb_create_map(FILE *file, bb_map_t **newmap) if (err) return bb_err_Read; -/* FIXME. Under 16-bit DOS, this fails. - * From the following url: "'unsigned long' variables don't work in - * 16-bit mode." How do I get around this? - * http://www.digitalmars.com/d/archives/c++/dos/16-bits/45.html - */ readlen = fread(buffer, sizeof(uint32), 3, file); if (readlen != 3) return bb_err_Read; -printf("buffer0 %i should be %i\n", bb_native4(buffer[0]), bb_ID_FORM); -printf("buffer2 %i should be %i\n", bb_native4(buffer[2]), bb_ID_IFRS); - if (bb_native4(buffer[0]) != bb_ID_FORM) return bb_err_Format; if (bb_native4(buffer[2]) != bb_ID_IFRS) -- 2.34.1