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()); } }
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()); } }