etabeta78: you were working on the NES ppu stuff as well, right? Is there any chance you can get rid of the lookup tables in src/mame/machine/vsnes.c and just require for all vsnes games, a rom which contains the 9-bits-per-color color lookup for said game?
The lookup tables remap the 'scrambled' vs nes ppu roms back into the closest available colors in the normal ntsc-generated color spectrum, which is completely and utterly wrong to hardware.
Proposed function would be vsnes_get_color which takes the color index, the ppu type, and the color de-emphasis bits and monochrome bit for input, and returns an RGB color.
LN