mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-25 07:13:34 +01:00
Delete CPU.cpp/h , cleanup
This commit is contained in:
1 parent
87f203a5b8
commit
ce378b231f
32 files changed
+75
-127
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user