Page 1 of 1

Colors wrong on Gamecube/Wii?

Posted: Wed Sep 09, 2015 7:47 pm
by capz
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.

Re: Colors wrong on Gamecube/Wii?

Posted: Wed Nov 11, 2015 9:29 pm
by WinterMute
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.

Re: Colors wrong on Gamecube/Wii?

Posted: Sun Mar 20, 2016 11:10 pm
by capz
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)