1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-10 13:29:50 +00:00

Fix output of segment sizes. It was broken after some changes to the format.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5670 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz 2012-06-03 13:39:28 +00:00
parent ebca2991a3
commit d5cf83deba

View File

@ -924,11 +924,12 @@ void DumpObjSegSize (FILE* F, unsigned long Offset)
/* Read and print the sizes of all segments */
while (Count--) {
/* Read the data for one segments */
/* Read the data for one segment */
unsigned long DataSize = Read32 (F);
unsigned long NextSeg = ftell (F) + DataSize;
const char* Name = GetString (&StrPool, ReadVar (F));
unsigned Len = strlen (Name);
(void) ReadVar (F); /* Skip segment flags */
unsigned long Size = ReadVar (F);
/* Skip alignment, type and fragment count */