Ejemplo n.º 1
0
void psychic5_state::set_background_palette_intensity()
{
    int i;
    m_palette_intensity = m_ps5_palette_ram[BG_PAL_INTENSITY_BU] |
                          (m_ps5_palette_ram[BG_PAL_INTENSITY_RG]<<8);

    /* for all of the background palette */
    for (i = 0; i < 0x100; i++)
        psychic5_change_bg_palette(m_bg_palette_base+i,m_bg_palette_ram_base+i*2,m_bg_palette_ram_base+i*2+1);
}
Ejemplo n.º 2
0
static void set_background_palette_intensity(running_machine *machine)
{
	int i;
	palette_intensity = ps5_palette_ram[BG_PAL_INTENSITY_BU] |
						(ps5_palette_ram[BG_PAL_INTENSITY_RG]<<8);

	/* for all of the background palette */
	for (i = 0; i < 0x100; i++)
		psychic5_change_bg_palette(machine,bg_palette_base+i,bg_palette_ram_base+i*2,bg_palette_ram_base+i*2+1);
}
Ejemplo n.º 3
0
static void set_background_palette_intensity(running_machine *machine)
{
	psychic5_state *state = machine->driver_data<psychic5_state>();
	int i;
	state->palette_intensity = state->ps5_palette_ram[BG_PAL_INTENSITY_BU] |
						(state->ps5_palette_ram[BG_PAL_INTENSITY_RG]<<8);

	/* for all of the background palette */
	for (i = 0; i < 0x100; i++)
		psychic5_change_bg_palette(machine,state->bg_palette_base+i,state->bg_palette_ram_base+i*2,state->bg_palette_ram_base+i*2+1);
}