Skip to content

Big Endian zelda3 compiles but corrupt graphics and closes #291

Open
@Link4Electronics

Description

@Link4Electronics

Describe your bug here. And how to reproduce it.

I compiled the code on a Big Endian machine, PowerMac G5 running Debian sid PPC64, the program runs as in the screenshot, shows a corrupted triforce intro for a few seconds and then crashes.
image
The zelda3_assets.dat generated on a big endian system has a CRC 27377A48, and on a little endian CRC 1DE3741F
When using the one generaton on a little endian system, this error shows on console, Error: Invalid assets file

I already suspect that big endian isn't a supported platform, but getting this close to even render (despide corrupt) intro, makes me wonder if there's some byte swapping involved in accessing the file and/or generating the assets.dat file.

What is your build target?

Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions