Merge pull request #1800 from encounter/svcgetinfo

svc: Return ERR_INVALID_ENUM_VALUE from svcGetInfo
This commit is contained in:
Mat M 2018-11-25 16:52:56 -05:00 committed by GitHub
commit 94fce28010
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -671,7 +671,8 @@ static ResultCode GetInfo(u64* result, u64 info_id, u64 handle, u64 info_sub_id)
break;
}
default:
UNIMPLEMENTED();
LOG_WARNING(Kernel_SVC, "(STUBBED) Unimplemented svcGetInfo id=0x{:016X}", info_id);
return ERR_INVALID_ENUM_VALUE;
}
return RESULT_SUCCESS;