mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
DSPLLE: moved breakpoint to debug to gain some speed
clrl fix from lordmark git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4521 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -223,7 +223,8 @@ int DSPCore_RunCycles(int cycles)
|
|||||||
switch (core_state)
|
switch (core_state)
|
||||||
{
|
{
|
||||||
case DSPCORE_RUNNING:
|
case DSPCORE_RUNNING:
|
||||||
#if 1 // Set to 0 to disable breakpoints, for a speed boost.
|
// Seems to slow things down
|
||||||
|
#if defined(_DEBUG) || defined(DEBUGFAST)
|
||||||
cycles = DSPInterpreter::RunCyclesDebug(cycles);
|
cycles = DSPInterpreter::RunCyclesDebug(cycles);
|
||||||
#else
|
#else
|
||||||
cycles = DSPInterpreter::RunCycles(cycles);
|
cycles = DSPInterpreter::RunCycles(cycles);
|
||||||
|
@ -42,12 +42,10 @@ void clr(const UDSPInstruction& opc)
|
|||||||
// Clears $acR.l - low 16 bits of accumulator $acR.
|
// Clears $acR.l - low 16 bits of accumulator $acR.
|
||||||
void clrl(const UDSPInstruction& opc)
|
void clrl(const UDSPInstruction& opc)
|
||||||
{
|
{
|
||||||
u16 reg = DSP_REG_ACL0 + ((opc.hex >> 8) & 0x1);
|
u8 reg = (opc.hex >> 8) & 0x1;
|
||||||
g_dsp.r[reg] = 0;
|
g_dsp.r[DSP_REG_ACL0 + reg] = 0;
|
||||||
|
Update_SR_Register64(dsp_get_long_acc(reg));
|
||||||
|
|
||||||
// Should this be 64bit?
|
|
||||||
// nakee: it says the whole reg in duddie's doc sounds weird
|
|
||||||
Update_SR_Register64((s64)reg);
|
|
||||||
zeroWriteBackLog();
|
zeroWriteBackLog();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user