mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
llejit - asrnr fix and reverted Do_ARAM_DMA() change from my previous commit
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7471 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -1863,7 +1863,7 @@ void DSPEmitter::asrnr(const UDSPInstruction opc)
|
|||||||
// u16 accm = (u16)dsp_get_acc_m(1 - dreg);
|
// u16 accm = (u16)dsp_get_acc_m(1 - dreg);
|
||||||
get_acc_m(1 - dreg);
|
get_acc_m(1 - dreg);
|
||||||
// s64 acc = dsp_get_long_acc(dreg);
|
// s64 acc = dsp_get_long_acc(dreg);
|
||||||
get_long_acc(dreg);
|
get_long_acc(dreg, RDX);
|
||||||
|
|
||||||
// if ((accm & 0x3f) == 0)
|
// if ((accm & 0x3f) == 0)
|
||||||
// shift = 0;
|
// shift = 0;
|
||||||
|
@ -683,7 +683,7 @@ void Do_ARAM_DMA()
|
|||||||
{
|
{
|
||||||
// Fake the DMA taking time to complete. The delay is not accurate, but
|
// Fake the DMA taking time to complete. The delay is not accurate, but
|
||||||
// seems like a good estimate
|
// seems like a good estimate
|
||||||
//CoreTiming::ScheduleEvent_Threadsafe(g_arDMA.Cnt.count >> 1, et_GenerateDSPInterrupt, INT_ARAM | (1<<16));
|
CoreTiming::ScheduleEvent_Threadsafe(g_arDMA.Cnt.count >> 1, et_GenerateDSPInterrupt, INT_ARAM | (1<<16));
|
||||||
|
|
||||||
// Real hardware DMAs in 32byte chunks, but we can get by with 8byte chunks
|
// Real hardware DMAs in 32byte chunks, but we can get by with 8byte chunks
|
||||||
if (g_arDMA.Cnt.dir)
|
if (g_arDMA.Cnt.dir)
|
||||||
@ -720,7 +720,6 @@ void Do_ARAM_DMA()
|
|||||||
g_arDMA.Cnt.count -= 8;
|
g_arDMA.Cnt.count -= 8;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
GenerateDSPInterrupt(INT_ARAM);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user