MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / getRegisterCount

Method getRegisterCount

pcsx2/DebugTools/DebugInterface.cpp:396–414  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

394}
395
396int R5900DebugInterface::getRegisterCount(int cat)
397{
398 switch (cat)
399 {
400 case EECAT_GPR:
401 return 35; // 32 + pc + hi + lo
402 case EECAT_CP0:
403 case EECAT_FPR:
404 case EECAT_FCR:
405 case EECAT_VU0I:
406 return 32;
407 case EECAT_VU0F:
408 return 33; // 32 + ACC
409 case EECAT_GSPRIV:
410 return 19;
411 default:
412 return 0;
413 }
414}
415
416DebugInterface::RegisterType R5900DebugInterface::getRegisterType(int cat)
417{

Callers 3

paintEventMethod · 0.80
wheelEventMethod · 0.80
setupRegisterFieldMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected