Skip to content

Swapped RGB channels on Big Endian 64bits #444

@Link4Electronics

Description

@Link4Electronics

Before opening this issue, I ensure that...

  • I have read the FAQ and confirmed my issue is not mentioned in it.
  • I have checked both open and closed issues and confirmed this bug has not already been reported.
  • I am not asking for tech support (e.g. game closing on startup, error when trying to build, etc).
  • I am not asking for modding support or reporting a bug in a specific mod; this bug either occurs without mods enabled or is directly related to the mod loader.
  • This bug is not related to any unofficial fork/port of the decompilation, and any issues with those should be kept in the appropriate repository.

Expected Behavior

render with corrected rgb channels

Actual Behavior

it seems they're swapped

Steps to Reproduce

I compiled the project on a PowerMac G5 running Linux Debian sid PPC64, using a AMD Radeon R5 230 Terascale 2 gpu Mesa 24.1.6 drivers with OpenGL 3.2 exposed, the game works but as the attached screenshots. The menu renders like some polygons spike artifacts. JOC, Sonic Mania renders correctly without issues.

Screenshots

Screenshot_2024-11-23_05-39-11
Screenshot_2024-11-23_05-40-12
Screenshot_2024-11-23_05-38-56

Log File

No response

Decompilation Version

Compiled the most current

Game

Sonic 2

Game Version

Mobile (Pre-Sega Forever)

Game Revision

No response

Platform

Linux PPC64

Additional Comments

Best regards,
Link.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions