mirror of
https://github.com/holub/mame
synced 2025-04-25 17:56:43 +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;
|
||||
|
||||
if ( ( r2 >> 6 ) & 1 )
|
||||
if ( (( r2 >> 6 ) & 7) == 1 )
|
||||
{
|
||||
offset = INDIRECT(r1,1);
|
||||
val = GETEXTERNAL( 0,offset);
|
||||
}
|
||||
else
|
||||
{
|
||||
offset = INDIRECT(r1,0);
|
||||
val = GETEXTERNAL( GETEB(),offset);
|
||||
}
|
||||
|
||||
val = GETEXTERNAL( GETEB(),offset);
|
||||
ALU( alu);
|
||||
SETREGS(r2,val);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user