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:
Marko Pusljar 2011-04-18 15:12:56 +00:00
parent 73031229f7
commit 58e1d90a3e
2 changed files with 2 additions and 3 deletions

View File

@ -1863,7 +1863,7 @@ void DSPEmitter::asrnr(const UDSPInstruction opc)
// u16 accm = (u16)dsp_get_acc_m(1 - dreg);
get_acc_m(1 - dreg);
// s64 acc = dsp_get_long_acc(dreg);
get_long_acc(dreg);
get_long_acc(dreg, RDX);
// if ((accm & 0x3f) == 0)
// shift = 0;

View File

@ -683,7 +683,7 @@ void Do_ARAM_DMA()
{
// Fake the DMA taking time to complete. The delay is not accurate, but
// 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
if (g_arDMA.Cnt.dir)
@ -720,7 +720,6 @@ void Do_ARAM_DMA()
g_arDMA.Cnt.count -= 8;
}
}
GenerateDSPInterrupt(INT_ARAM);
}