Skip to content

[GCC] Bad Array Access --> gActorList #747

Description

@MegaMech

Some actors use indices set to -1 to say "this actor has been cleaned up"

but then it tries to access these actors using gActorList[-1] which ends up in bad bss data. There's likely a dummy actor before gActorList, so that this bad access doesn't do anything. But this hack fix would break GCC.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions