| 424 | // |
| 425 | //***************************************************************************** |
| 426 | void DLParser_InitMicrocode( u32 code_base, u32 code_size, u32 data_base, u32 data_size ) |
| 427 | { |
| 428 | u32 ucode {GBIMicrocode_DetectVersion( code_base, code_size, data_base, data_size, &DLParser_SetCustom )}; |
| 429 | |
| 430 | gVertexStride = ucode_stride[ucode]; |
| 431 | gLastUcodeBase = code_base; |
| 432 | gUcodeFunc = IS_CUSTOM_UCODE(ucode) ? gCustomInstruction : gNormalInstruction[ucode]; |
| 433 | |
| 434 | // Used for fetching ucode names (Debug Only) |
| 435 | #if defined(DAEDALUS_DEBUG_DISPLAYLIST) || defined(DAEDALUS_ENABLE_PROFILING) |
| 436 | gUcodeName = IS_CUSTOM_UCODE(ucode) ? gCustomInstructionName : gNormalInstructionName[ucode]; |
| 437 | #endif |
| 438 | } |
| 439 | |
| 440 | //***************************************************************************** |
| 441 | // |
no test coverage detected