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

Function DLParser_InitMicrocode

Source/HLEGraphics/DLParser.cpp:426–438  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

424//
425//*****************************************************************************
426void 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//

Callers 3

DLParser_ProcessFunction · 0.85
DLParser_GBI1_LoadUCodeFunction · 0.85
DLParser_GBI1_LoadUCodeFunction · 0.85

Calls 1

Tested by

no test coverage detected