forked from eden-emu/eden
added initial modules for setting up SysCall HLE
This commit is contained in:
parent
fccbfc208c
commit
f68de21ad1
7 changed files with 862 additions and 0 deletions
src/core
|
@ -24,6 +24,24 @@ void RunLoop() {
|
|||
|
||||
/// Step the CPU one instruction
|
||||
void SingleStep() {
|
||||
|
||||
char current_instr[512];
|
||||
|
||||
if (g_app_core->GetPC() == 0x080D1534) {
|
||||
g_disasm->disasm(g_app_core->GetPC(), Memory::Read32(g_app_core->GetPC()), current_instr);
|
||||
|
||||
|
||||
NOTICE_LOG(ARM11, "0x%08X 0x%08X 0x%08X 0x%08X 0x%08X 0x%08X",
|
||||
g_app_core->GetReg(0),
|
||||
g_app_core->GetReg(1),
|
||||
g_app_core->GetReg(2),
|
||||
g_app_core->GetReg(3), Memory::Read32(g_app_core->GetReg(0)), Memory::Read32(g_app_core->GetReg(1)));
|
||||
|
||||
|
||||
NOTICE_LOG(ARM11, "0x%08X\t%s", g_app_core->GetPC(), current_instr);
|
||||
}
|
||||
|
||||
|
||||
g_app_core->Step();
|
||||
HW::Update();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue