MAMEWorld >> EmuChat
View all threads Index   Flat Mode Flat  

Anonymous
Unregistered
Re: Disable sprite and background layers
05/25/13 11:52 AM


> But when the actual RGB values are accessible somewhere in the game or in the
> hardware's code, how come that different emulators use different colors? For "Street
> Fighter II", MAME has other colors as WinKawaks. If the RGB values are fixed, why is
> this the case?

It's not exactly rgb, there is some interpretation. Even if it was solely rgb, the colours might not be linear which also opens them up for interpretation.

src/mame/video/cps1.c


/***************************************************************************

Build palette from palette RAM

12 bit RGB with a 4 bit brightness value.

***************************************************************************/

void cps_state::cps1_build_palette( const UINT16* const palette_base )


> So, I can program, but just because I can program doesn't mean that I'm capable of
> quickly finding anything in a code that I never had contact with. That's why my
> question has nothing to do with other people doing my homework.

You want to do something, but you don't want to invest any time into learning how to gain the information yourself. If we help you too much, then you might keep coming back for more information. If we tell you to figure it out yourself then you will either give up, or actually bother to learn. I don't care which of those you do.







Entire thread
Subject Posted by Posted on
* Disable sprite and background layers DaRayu 05/24/13 11:09 PM
. * Re: Disable sprite and background layers SmitdoggAdministrator  05/24/13 11:26 PM
. * Re: Disable sprite and background layers DaRayu  05/25/13 12:20 AM
. * Re: Disable sprite and background layers R. Belmont  05/25/13 02:41 AM
. * Re: Disable sprite and background layers DaRayu  05/25/13 03:35 AM
. * Re: Disable sprite and background layers Anonymous  05/25/13 11:52 AM
. * Re: Disable sprite and background layers DaRayu  05/25/13 12:11 PM
. * Re: Disable sprite and background layers Anonymous  05/25/13 05:17 PM
. * Re: Disable sprite and background layers Tomu Breidah  05/25/13 04:10 PM
. * Re: Disable sprite and background layers DaRayu  05/25/13 07:21 PM
. * Re: Disable sprite and background layers Anonymous  05/27/13 02:46 AM
. * Re: Disable sprite and background layers DaRayu  05/27/13 08:37 AM
. * Re: Disable sprite and background layers BIOS-D  05/27/13 10:03 PM
. * Re: Disable sprite and background layers Anonymous  05/27/13 01:32 PM
. * Re: Disable sprite and background layers SmitdoggAdministrator  05/25/13 12:37 AM
. * Re: Disable sprite and background layers DaRayu  05/25/13 01:15 AM
. * Re: Disable sprite and background layers SmitdoggAdministrator  05/25/13 01:18 AM
. * Re: Disable sprite and background layers DaRayu  05/25/13 01:31 AM
. * Re: Disable sprite and background layers BIOS-D  05/25/13 01:47 AM
. * Re: Disable sprite and background layers DaRayu  05/25/13 02:04 AM
. * Re: Disable sprite and background layers BIOS-D  05/25/13 02:22 AM
. * Re: Disable sprite and background layers DaRayu  05/25/13 03:37 AM
. * Re: Disable sprite and background layers Vas Crabb  05/25/13 06:25 AM
. * Re: Disable sprite and background layers DaRayu  05/25/13 11:52 AM
. * Re: Disable sprite and background layers Matty_  05/27/13 03:43 AM
. * Re: Disable sprite and background layers BIOS-D  05/25/13 09:33 AM
. * Re: Disable sprite and background layers Tomu Breidah  05/25/13 09:52 AM
. * Re: Disable sprite and background layers SmitdoggAdministrator  05/25/13 01:33 AM
. * Re: Disable sprite and background layers DaRayu  05/25/13 01:49 AM
. * Re: Disable sprite and background layers SmitdoggAdministrator  05/25/13 01:55 AM

Extra information Permissions
Moderator:  Robbbert, Tafoid 
0 registered and 301 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 10240