mirror of
https://github.com/cc65/cc65.git
synced 2025-01-27 09:33:42 +00:00
Read the segment size as var, not as 32 bit value.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5234 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
1e20489ee1
commit
6a01a3407a
@ -204,7 +204,7 @@ Section* ReadSection (FILE* F, ObjData* O)
|
|||||||
/* Read the segment data */
|
/* Read the segment data */
|
||||||
(void) Read32 (F); /* File size of data */
|
(void) Read32 (F); /* File size of data */
|
||||||
Name = MakeGlobalStringId (O, ReadVar (F)); /* Segment name */
|
Name = MakeGlobalStringId (O, ReadVar (F)); /* Segment name */
|
||||||
Size = Read32 (F); /* Size of data */
|
Size = ReadVar (F); /* Size of data */
|
||||||
Align = Read8 (F); /* Alignment */
|
Align = Read8 (F); /* Alignment */
|
||||||
Type = Read8 (F); /* Segment type */
|
Type = Read8 (F); /* Segment type */
|
||||||
FragCount = ReadVar (F); /* Number of fragments */
|
FragCount = ReadVar (F); /* Number of fragments */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user