mirror of
https://github.com/holub/mame
synced 2025-10-06 17:08:28 +03:00
Fix for External->Reg opcode in TGP, VF2 now boots then dies a bunch of seconds later in gameplay/attract.
This commit is contained in:
parent
d7e3b4a5e1
commit
470be8ce4b
@ -1160,12 +1160,17 @@ void mb86233_cpu_device::execute_run()
|
|||||||
{
|
{
|
||||||
UINT32 offset;
|
UINT32 offset;
|
||||||
|
|
||||||
if ( ( r2 >> 6 ) & 1 )
|
if ( (( r2 >> 6 ) & 7) == 1 )
|
||||||
|
{
|
||||||
offset = INDIRECT(r1,1);
|
offset = INDIRECT(r1,1);
|
||||||
|
val = GETEXTERNAL( 0,offset);
|
||||||
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
offset = INDIRECT(r1,0);
|
offset = INDIRECT(r1,0);
|
||||||
|
val = GETEXTERNAL( GETEB(),offset);
|
||||||
|
}
|
||||||
|
|
||||||
val = GETEXTERNAL( GETEB(),offset);
|
|
||||||
ALU( alu);
|
ALU( alu);
|
||||||
SETREGS(r2,val);
|
SETREGS(r2,val);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user