static bool try_fast_task_dispatching(struct hle_t* hle) { /* identify task ucode by its type */ switch (*dmem_u32(hle, TASK_TYPE)) { case 1: if (FORWARD_GFX) { forward_gfx_task(hle); return true; } break; case 2: if (FORWARD_AUDIO) { if (rsp_info.ProcessAlistList) rsp_info.ProcessAlistList(); return true; } if (try_fast_audio_dispatching(hle)) return true; break; case 7: if (rsp_info.ShowCFB) rsp_info.ShowCFB(); return true; } return false; }
bool CHle::try_fast_task_dispatching(void) { /* identify task ucode by its type */ switch (*dmem_u32(this, TASK_TYPE)) { case 1: if (m_ForwardGFX) { m_ProcessDList(); return true; } break; case 2: if (m_AudioHle) { m_ProcessAList(); return true; } else if (try_fast_audio_dispatching()) { return true; } break; case 7: m_ShowCFB(); return true; } return false; }
static bool try_fast_task_dispatching(struct hle_t* hle) { /* identify task ucode by its type */ switch (*dmem_u32(hle, TASK_TYPE)) { case 1: if (FORWARD_GFX) { forward_gfx_task(hle); return true; } break; case 2: if (FORWARD_AUDIO) { HleProcessAlistList(hle->user_defined); return true; } else if (try_fast_audio_dispatching(hle)) return true; break; case 7: HleShowCFB(hle->user_defined); return true; } return false; }
static int try_fast_task_dispatching(void) { /* identify task ucode by its type */ switch (*dmem_u32(TASK_TYPE)) { case 1: if (FORWARD_GFX) { forward_gfx_task(); return 1; } break; case 2: if (FORWARD_AUDIO) { forward_audio_task(); return 1; } else if (try_fast_audio_dispatching()) return 1; break; case 7: show_cfb(); return 1; } return 0; }
static int try_fast_task_dispatching() { /* identify task ucode by its type */ const OSTask_t * const task = get_task(); switch (task->type) { case 1: if (FORWARD_GFX) { forward_gfx_task(); return 1; } break; case 2: if (FORWARD_AUDIO) { forward_audio_task(); return 1; } else if (try_fast_audio_dispatching()) { return 1; } break; case 7: show_cfb(); return 1; } return 0; }