Exemplo n.º 1
0
void CallSVC(u32 opcode) {
    const FunctionDef *info = GetSVCInfo(opcode);

    if (!info) {
        return;
    }
    if (info->func) {
        info->func();
    } else {
        ERROR_LOG(HLE, "unimplemented SVC function %s(..)", info->name.c_str());
    }
}
Exemplo n.º 2
0
void CallSVC(u32 opcode) {
    Common::Profiling::ScopeTimer timer_svc(profiler_svc);

    const FunctionDef *info = GetSVCInfo(opcode);

    if (!info) {
        return;
    }
    if (info->func) {
        info->func();
    } else {
        LOG_ERROR(Kernel_SVC, "unimplemented SVC function %s(..)", info->name.c_str());
    }
}