Skip to content

Add support for agbcc -fprologue-bugfix #820

@WhenGryphonsFly

Description

@WhenGryphonsFly

Agbcc was recently updated to support a new compiler flag, -fprologue-bugfix (see pret/agbcc#64). This option represents a compiler patch that removed unnecessary push/pop instructions in leaf functions. This flag is necessary to support some games such as Pokémon Pinball: Ruby and Sapphire.

I am not 100% sure this is the proper forum for this issue, but given that (a) the fork of agbcc being used by decomp.me (https://github.com/ethteck/agbcc) does not have issues enabled, and (b) the owner of that fork is a maintainer here, I thought that this was a good of a place as any. If there is a better location to file this bug / feature request please let me know.

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