]> git.sur5r.net Git - cc65/blobdiff - src/od65/fileio.c
Rather stay with OFF_YEAR as it is an "officially" name.
[cc65] / src / od65 / fileio.c
index 43a34ad9219005a321420f7c1aa0cdec7b5232fc..a1493500689331bc6b8cde996cd6fb1de88b1722 100644 (file)
@@ -6,10 +6,10 @@
 /*                                                                           */
 /*                                                                           */
 /*                                                                           */
-/* (C) 1998-2003 Ullrich von Bassewitz                                       */
-/*               Römerstrasse 52                                             */
-/*               D-70794 Filderstadt                                         */
-/* EMail:        uz@cc65.org                                                 */
+/* (C) 1998-2011, Ullrich von Bassewitz                                      */
+/*                Roemerstrasse 52                                           */
+/*                D-70794 Filderstadt                                        */
+/* EMail:         uz@cc65.org                                                */
 /*                                                                           */
 /*                                                                           */
 /* This software is provided 'as-is', without any expressed or implied       */
@@ -53,7 +53,7 @@
 
 void FileSetPos (FILE* F, unsigned long Pos)
 /* Seek to the given absolute position, fail on errors */
-{
+{                 
     if (fseek (F, Pos, SEEK_SET) != 0) {
        Error ("Cannot seek: %s", strerror (errno));
     }
@@ -227,6 +227,10 @@ void ReadObjHeader (FILE* F, ObjHeader* H)
     H->StrPoolSize  = Read32 (F);
     H->AssertOffs   = Read32 (F);
     H->AssertSize   = Read32 (F);
+    H->ScopeOffs    = Read32 (F);
+    H->ScopeSize    = Read32 (F);
+    H->SpanOffs     = Read32 (F);
+    H->SpanSize     = Read32 (F);
 }