Skip to content

Add -Wtruncation=0/1/2 levels to RGBLINK #1815

@DevEd2

Description

@DevEd2

From Discord

DevEd:

warning: Main.asm(803) -> GameModes/Level.asm(1283) -> Engine/Player.asm(2280): [-Wtruncation]
   Value $ffff3d4d (may be negative?) is not 16-bit

caused by:

      ld      bc,-Player_Projectiles ; ld bc,-$c2a3
      add     hl,bc

ax6:

if it's a reasonably recent version, -Wtruncation=1 should solve it

DevEd:

didn't work

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementTypically new features; lesser priority than bugsrgblinkThis affects RGBLINK

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions