Skip to content

DMG colorization breaks sprite palettes in Zelda #54

@eddmann

Description

@eddmann

Summary

Recent DMG colorization changes have broken sprite color palettes in The Legend of Zelda, causing sprites to display with incorrect colors.

Description

After implementing the DMG colorization feature, Zelda sprites are rendering with wrong color palettes. Reverting to the commit before the DMG colorization changes makes the game display correctly, indicating the issue is directly related to those changes.

Steps to Reproduce

  1. Load The Legend of Zelda ROM
  2. Observe sprite colors during gameplay
  3. Notice incorrect color palettes on Link and other sprites

Expected Behavior

Sprites should display with their correct color palettes, matching the appearance before the DMG colorization changes.

Actual Behavior

Sprites display with incorrect colors as shown in the attached screenshot.

Image

Additional Context

  • Issue appears to be introduced by recent DMG colorization implementation
  • Reverting to pre-colorization code resolves the issue
  • Need to investigate how DMG palette handling affects sprite rendering

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