I have 2 sugestions:
1- Maybe you are getting the wrong adress of the icon.
2- Maybe they ARE white. :)
You can see at Marcus' Tetris that the second half of his pallete is white too!
Plz, give me an exact description of what your program do.
nIGHTmARE
--- In vmu-dev@y..., Paul Kratt <sblur@e...> wrote:
> I finally got around to trying to write a VMS icon viewer....
> But I'm not having luck, so I thought I might ask.
>
> I've followed the documents Marcus wrote on how the icons work. Using
> that, I wrote something simple to display a VMU icon in a window....
> Some Icons, such as the Sonic Adventure Y2K download display just fine,
> but others, such as the Sonic Adventure Christmas download have white for
> some colors. On the Sonic Adventure christmas download, the tree ends up
> white. I assumed I did something wrong, so I decided to make it draw the
> palette on the screen too. The palette shows white in places for no
> reason either.
> Then I decided to look at the palettes in my hex editor. The program I
> wrote appears to be loading them correctly, because I've got colors that
> show up as green, yellow, pink, etc. as almost all white (FF FE FF FE) as
> an example. How does the dreamcast get anything out of these colors? Am I
> doing something wrong, or is there something special I need to load them?
>
> As I said before, some Icons are ok and load all their colors, but others
> have white'ish color where there should normally be a solid color. Any
> suggestions, or did I make a mistake in my program that's causing this?