static void wait_rsx_idle() { rsxSetWriteBackendLabel(context, GCM_LABEL_INDEX, sLabelVal); rsxSetWaitLabel(context, GCM_LABEL_INDEX, sLabelVal); ++sLabelVal; wait_finish(); }
static void waitRSXIdle(gcmContextData *context){ u32 sLabelVal = 1; rsxSetWriteBackendLabel(context, GCM_LABEL_INDEX, sLabelVal); rsxSetWaitLabel(context, GCM_LABEL_INDEX, sLabelVal); sLabelVal++; waitFinish(context, sLabelVal); }