I'm having a problem with my palette for my first demo. After reading the post of Pulper's thx demo I've been able to fix all the problems in my demo except for the palette.
I use 3 main emulators to test my code. Theres Nestopia, Nintendulator, and VirtuaNes.
The whole demo works perfectly on Nestopia (although it doesn't give me any debug options to check the palette or nothing), it doesn't give the right colors in VirtuaNes (I looked a palette viewer and pretty much all the entries in it are grey with a few exceptions like green and purple) and all the sprites are grey (the same grey because grey is basically the whole palette) but the main primary color is black (except when you die, the background primary color changes to a random color). And in Nintendulator the colors are even more different.....the background is light blue and the sprites are green and grey.
So basically the palette is different in each emulator and only Nestopia has the correct palette (the one I expect it to have). I assume I'm not doing something before initializing the palette that for some reason Nestopia isn't picking up. I'm gonna try some more tests to see if I can get it to work. thx :)