mirror of
https://github.com/holub/mame
synced 2025-05-23 22:20:01 +03:00
Fixed term2 (rev. LA4) freeze during the Cyberdyne stage opening cinematic [Phil Bennett]
Wish I had more time to figure out why these hacks are needed anyway...
This commit is contained in:
parent
19e03e5eca
commit
4570a736ca
@ -213,41 +213,41 @@ static WRITE16_HANDLER( term2_sound_w )
|
||||
|
||||
static WRITE16_HANDLER( term2_hack_w )
|
||||
{
|
||||
if (offset == 0 && cpu_get_pc(space->cpu) == 0xffce6520)
|
||||
{
|
||||
t2_hack_mem[offset] = 0;
|
||||
return;
|
||||
}
|
||||
if (offset == 1 && cpu_get_pc(space->cpu) == 0xffce6520)
|
||||
{
|
||||
t2_hack_mem[offset] = 0;
|
||||
return;
|
||||
}
|
||||
COMBINE_DATA(&t2_hack_mem[offset]);
|
||||
}
|
||||
|
||||
static WRITE16_HANDLER( term2la3_hack_w )
|
||||
{
|
||||
if (offset == 0 && cpu_get_pc(space->cpu) == 0xffce5230)
|
||||
{
|
||||
t2_hack_mem[offset] = 0;
|
||||
return;
|
||||
}
|
||||
if (offset == 0 && cpu_get_pc(space->cpu) == 0xffce5230)
|
||||
{
|
||||
t2_hack_mem[offset] = 0;
|
||||
return;
|
||||
}
|
||||
COMBINE_DATA(&t2_hack_mem[offset]);
|
||||
}
|
||||
|
||||
static WRITE16_HANDLER( term2la2_hack_w )
|
||||
{
|
||||
if (offset == 0 && cpu_get_pc(space->cpu) == 0xffce4b80)
|
||||
{
|
||||
t2_hack_mem[offset] = 0;
|
||||
return;
|
||||
}
|
||||
if (offset == 0 && cpu_get_pc(space->cpu) == 0xffce4b80)
|
||||
{
|
||||
t2_hack_mem[offset] = 0;
|
||||
return;
|
||||
}
|
||||
COMBINE_DATA(&t2_hack_mem[offset]);
|
||||
}
|
||||
|
||||
static WRITE16_HANDLER( term2la1_hack_w )
|
||||
{
|
||||
if (offset == 0 && cpu_get_pc(space->cpu) == 0xffce33f0)
|
||||
{
|
||||
t2_hack_mem[offset] = 0;
|
||||
return;
|
||||
}
|
||||
if (offset == 0 && cpu_get_pc(space->cpu) == 0xffce33f0)
|
||||
{
|
||||
t2_hack_mem[offset] = 0;
|
||||
return;
|
||||
}
|
||||
COMBINE_DATA(&t2_hack_mem[offset]);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user