MCPcopy Create free account
hub / github.com/DaedalusX64/daedalus / Dump

Method Dump

Source/Core/CPU.cpp:310–328  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

308DAEDALUS_STATIC_ASSERT(ARRAYSIZE(kRegisterNames) == 32);
309
310void SCPUState::Dump()
311{
312
313 DBGConsole_Msg(0, "Emulation CPU State:");
314 {
315 for(int i=0; i<32; i+=4)
316 {
317 DBGConsole_Msg(0, "%s:%08X %s:%08X %s:%08X %s:%08X",
318 kRegisterNames[i+0], gCPUState.CPU[i+0]._u32_0,
319 kRegisterNames[i+1], gCPUState.CPU[i+1]._u32_0,
320 kRegisterNames[i+2], gCPUState.CPU[i+2]._u32_0,
321 kRegisterNames[i+3], gCPUState.CPU[i+3]._u32_0);
322 }
323
324 DBGConsole_Msg(0, "TargetPC: %08x", gCPUState.TargetPC);
325 DBGConsole_Msg(0, "CurrentPC: %08x", gCPUState.CurrentPC);
326 DBGConsole_Msg(0, "Delay: %08x", gCPUState.Delay);
327 }
328}
329#endif
330
331bool CPU_RomOpen()

Callers 1

HandleOutOfSynchMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected