| 394 | } |
| 395 | |
| 396 | int 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 | |
| 416 | DebugInterface::RegisterType R5900DebugInterface::getRegisterType(int cat) |
| 417 | { |
no outgoing calls
no test coverage detected