Skip to content

Central Directory offset #30

Description

@qwiff-dogg

The specs states that rresFileHeader.cdOffset is an absolute offset within the file.

However, the rresLoadCentralDirectory implementation uses an offset relative to the end of the header:

https://github.com/raysan5/rres/blob/master/src/rres.h#L877

Shouldn't it use SEEK_SET, instead of SEEK_CUR here?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions