mirror of
https://github.com/RetroDECK/Supermodel.git
synced 2024-11-22 13:55:38 +00:00
This commit is contained in:
parent
57e8694a3f
commit
3647f61213
|
@ -533,6 +533,9 @@ INLINE void ppc_set_spr(int spr, UINT32 value)
|
|||
ppc_stolen_cycles += ppc_icount;
|
||||
ppc_icount = 0;
|
||||
}
|
||||
|
||||
DEC = value;
|
||||
return;
|
||||
}
|
||||
write_decrementer(value);
|
||||
return;
|
||||
|
@ -632,11 +635,14 @@ INLINE void ppc_set_msr(UINT32 value)
|
|||
if( value & (MSR_ILE | MSR_LE) )
|
||||
error("ppc: set_msr: little_endian mode not supported !");
|
||||
|
||||
if (value & MSR_EE)
|
||||
{
|
||||
if (ppc.interrupt_pending != 0)
|
||||
{
|
||||
ppc_stolen_cycles = ppc_icount;
|
||||
ppc_icount = 0;
|
||||
}
|
||||
}
|
||||
|
||||
MSR = value;
|
||||
}
|
||||
|
@ -950,7 +956,7 @@ void ppc_init(const PPC_CONFIG *config)
|
|||
default: break;
|
||||
}
|
||||
|
||||
ppc_dec_divider = (int)(multiplier * 2);
|
||||
ppc_dec_divider = (int)(multiplier * 4);
|
||||
|
||||
if (pll_config == -1)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue