mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-04-22 04:24:44 +00:00
posix_pthread_join | eR8G8B8A8Unorm (Alien)
This commit is contained in:
parent
75c92a7cd1
commit
33eafcd2a5
2 changed files with 8 additions and 0 deletions
|
@ -1121,6 +1121,12 @@ int PS4_SYSV_ABI scePthreadJoin(ScePthread thread, void** res) {
|
|||
}
|
||||
|
||||
int PS4_SYSV_ABI posix_pthread_join(ScePthread thread, void** res) {
|
||||
if (!thread) {
|
||||
return 22;
|
||||
}
|
||||
if (res == 0x0000000000000000) {
|
||||
return ORBIS_KERNEL_ERROR_EINVAL;
|
||||
}
|
||||
int result = pthread_join(thread->pth, res);
|
||||
LOG_INFO(Kernel_Pthread, "posix_pthread_join result = {}", result);
|
||||
thread->is_detached = false;
|
||||
|
|
|
@ -75,6 +75,8 @@ static inline vk::Format PromoteFormatToDepth(vk::Format fmt) {
|
|||
return vk::Format::eD32Sfloat;
|
||||
} else if (fmt == vk::Format::eR16Unorm) {
|
||||
return vk::Format::eD16Unorm;
|
||||
} else if (fmt == vk::Format::eR8G8B8A8Unorm) {
|
||||
return vk::Format::eD24UnormS8Uint;
|
||||
}
|
||||
UNREACHABLE();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue