Delete CPU.cpp/h , cleanup

This commit is contained in:
Henrik Rydgård committed 2013-12-30 00:11:29 +01:00
1 parent 87f203a5b8
commit ce378b231f
32 files changed
+75 -127

No files matched your search

+3 -6
View File
@@ -175,19 +175,16 @@ private:
const char *MIPSDebugInterface::disasm(unsigned int address, unsigned int align)
const char *MIPSDebugInterface::disasm(unsigned int address, unsigned int align)
{
MIPSState *x = currentCPU;
currentCPU = cpu;
static char mojs[256];
static char mojs[256];
if (Memory::IsValidAddress(address))
MIPSDisAsm(Memory::Read_Opcode_JIT(address), address, mojs);
else
strcpy(mojs, "-");
currentCPU = x;
return mojs;
}
unsigned int MIPSDebugInterface::readMemory(unsigned int address)
{
return Memory::Read_Instruction(address).encoding;