Fix the DSPLLE debugger window.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7007 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Glenn Rice
2011-01-31 04:36:49 +00:00
parent 424b8fd6b3
commit b6251ba674
10 changed files with 24 additions and 19 deletions

View File

@ -251,7 +251,7 @@ int DSPCore_RunCycles(int cycles)
if (dspjit)
{
cyclesLeft = cycles;
CompiledCode pExecAddr = (CompiledCode)dspjit->enterDispatcher;
DSPCompiledCode pExecAddr = (DSPCompiledCode)dspjit->enterDispatcher;
pExecAddr();
if (g_dsp.external_interrupt_waiting)

View File

@ -37,7 +37,7 @@ DSPEmitter::DSPEmitter() : gpr(*this), storeIndex(-1), storeIndex2(-1)
AllocCodeSpace(COMPILED_CODE_SIZE);
blocks = new CompiledCode[MAX_BLOCKS];
blocks = new DSPCompiledCode[MAX_BLOCKS];
blockLinks = new Block[MAX_BLOCKS];
blockSize = new u16[MAX_BLOCKS];
unresolvedJumps = new std::list<u16>[MAX_BLOCKS];
@ -52,7 +52,7 @@ DSPEmitter::DSPEmitter() : gpr(*this), storeIndex(-1), storeIndex2(-1)
//clear all of the block references
for(int i = 0x0000; i < MAX_BLOCKS; i++)
{
blocks[i] = (CompiledCode)stubEntryPoint;
blocks[i] = (DSPCompiledCode)stubEntryPoint;
blockLinks[i] = 0;
blockSize[i] = 0;
}
@ -70,7 +70,7 @@ void DSPEmitter::ClearIRAM() {
// ClearCodeSpace();
for(int i = 0x0000; i < 0x1000; i++)
{
blocks[i] = (CompiledCode)stubEntryPoint;
blocks[i] = (DSPCompiledCode)stubEntryPoint;
blockLinks[i] = 0;
blockSize[i] = 0;
}
@ -338,7 +338,7 @@ void DSPEmitter::Compile(u16 start_addr)
#endif
}
blocks[start_addr] = (CompiledCode)entryPoint;
blocks[start_addr] = (DSPCompiledCode)entryPoint;
// Mark this block as a linkable destination if it does not contain
// any unresolved CALL's
@ -356,7 +356,7 @@ void DSPEmitter::Compile(u16 start_addr)
if (unresolvedJumps[i].size() < size)
{
// Mark the block to be recompiled again
blocks[i] = (CompiledCode)stubEntryPoint;
blocks[i] = (DSPCompiledCode)stubEntryPoint;
blockLinks[i] = 0;
blockSize[i] = 0;
}

View File

@ -28,7 +28,7 @@
#define MAX_BLOCKS 0x10000
typedef u32 (*CompiledCode)();
typedef u32 (*DSPCompiledCode)();
typedef const u8 *Block;
class DSPEmitter : public Gen::XCodeBlock, NonCopyable
@ -264,7 +264,7 @@ public:
void SaveDSPRegs();
private:
CompiledCode *blocks;
DSPCompiledCode *blocks;
Block blockLinkEntry;
u16 compileSR;