Colors wrong on Gamecube/Wii?

Post Reply
capz
Posts: 13
Joined: Sat Nov 29, 2014 3:07 am

Colors wrong on Gamecube/Wii?

Post by capz » Wed Sep 09, 2015 7:47 pm

So I was trying out all of the gamecube examples, and I noticed that the colors are actually wrong.
At first i thought it was my hacked up drawing code, but I just built and ran the gxSprites example and even in Dolphin when I run the elf file i get different color output than the dol file.
Running on physical hardware, I get the same result as the elf file (which runs as a wii homebrew in dolphin i am assuming). I would understand if dolphin isn't 100% accurate but the only case in which the code yields the expected results is the dol file running in dolphin. Running on the cube itself somehow doesn't.

The example gxSprite as-is doesn't even run, it displays a corrupted frame buffer in green and whatnot, all garbled. I had to comment out the drawing code and hardcoded a single call to drawSpriteTex in order for it to show anything at all.

This looks like a bug to me, since my devkitpro was updated last week, and I'm just using the code as-is. But borrowing code from another project also yields unexpected results (i was drawing the official blue gamecube logo and it showed up gray). Looks like the blue channel somehow isn't drawing.

WinterMute
Site Admin
Posts: 1845
Joined: Tue Aug 09, 2005 3:21 am
Location: UK
Contact:

Re: Colors wrong on Gamecube/Wii?

Post by WinterMute » Wed Nov 11, 2015 9:29 pm

What system are you building your code on?

I've just built and checked a bunch of wii & gamecube examples which all look fine to me.
Help keep devkitPro toolchains free, Donate today

Personal Blog

capz
Posts: 13
Joined: Sat Nov 29, 2014 3:07 am

Re: Colors wrong on Gamecube/Wii?

Post by capz » Sun Mar 20, 2016 11:10 pm

WinterMute wrote:What system are you building your code on?

I've just built and checked a bunch of wii & gamecube examples which all look fine to me.
sorry for the delay, haven't been able to continue my little project up until recently.
I am on Mac OS X (latest)

Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests