From: David Griffith Date: Thu, 16 Aug 2012 09:08:14 +0000 (-0700) Subject: Putting back things X-Git-Url: https://scope-eye.net/git/?a=commitdiff_plain;h=94ad335ea8404b49581f47515929ec0b8d9ca3ff;p=liskon_frotz.git Putting back things --- 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)