mirror of
https://github.com/holub/mame
synced 2025-05-25 07:15:25 +03:00
04026: combatscb: Experiences various graphics glitches. [Roberto Zandonà]
This commit is contained in:
parent
93fe5a32e2
commit
5071f538d5
@ -165,12 +165,6 @@ static READ8_HANDLER( combatscb_io_r )
|
|||||||
}
|
}
|
||||||
|
|
||||||
static WRITE8_HANDLER( combatscb_priority_w )
|
static WRITE8_HANDLER( combatscb_priority_w )
|
||||||
{
|
|
||||||
combatsc_state *state = space->machine->driver_data<combatsc_state>();
|
|
||||||
state->priority = data & 0x20;
|
|
||||||
}
|
|
||||||
|
|
||||||
static WRITE8_HANDLER( combatsc_bankselect_w )
|
|
||||||
{
|
{
|
||||||
combatsc_state *state = space->machine->driver_data<combatsc_state>();
|
combatsc_state *state = space->machine->driver_data<combatsc_state>();
|
||||||
|
|
||||||
@ -188,6 +182,13 @@ static WRITE8_HANDLER( combatsc_bankselect_w )
|
|||||||
}
|
}
|
||||||
|
|
||||||
state->priority = data & 0x20;
|
state->priority = data & 0x20;
|
||||||
|
}
|
||||||
|
|
||||||
|
static WRITE8_HANDLER( combatsc_bankselect_w )
|
||||||
|
{
|
||||||
|
combatsc_state *state = space->machine->driver_data<combatsc_state>();
|
||||||
|
|
||||||
|
state->priority = data & 0x20;
|
||||||
|
|
||||||
if (data & 0x10)
|
if (data & 0x10)
|
||||||
memory_set_bank(space->machine, "bank1", (data & 0x0e) >> 1);
|
memory_set_bank(space->machine, "bank1", (data & 0x0e) >> 1);
|
||||||
@ -216,11 +217,13 @@ static WRITE8_HANDLER( combatscb_bankselect_w )
|
|||||||
{
|
{
|
||||||
state->video_circuit = 1;
|
state->video_circuit = 1;
|
||||||
state->videoram = state->page[1];
|
state->videoram = state->page[1];
|
||||||
|
state->scrollram = state->scrollram1;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
state->video_circuit = 0;
|
state->video_circuit = 0;
|
||||||
state->videoram = state->page[0];
|
state->videoram = state->page[0];
|
||||||
|
state->scrollram = state->scrollram0;
|
||||||
}
|
}
|
||||||
|
|
||||||
data = data & 0x1f;
|
data = data & 0x1f;
|
||||||
|
Loading…
Reference in New Issue
Block a user