mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-04 08:22:32 +00:00
posix_pthread_join | eR8G8B8A8Unorm (Alien)
This commit is contained in:
parent
75c92a7cd1
commit
33eafcd2a5
@ -1121,6 +1121,12 @@ int PS4_SYSV_ABI scePthreadJoin(ScePthread thread, void** res) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
int PS4_SYSV_ABI posix_pthread_join(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);
|
int result = pthread_join(thread->pth, res);
|
||||||
LOG_INFO(Kernel_Pthread, "posix_pthread_join result = {}", result);
|
LOG_INFO(Kernel_Pthread, "posix_pthread_join result = {}", result);
|
||||||
thread->is_detached = false;
|
thread->is_detached = false;
|
||||||
|
@ -75,6 +75,8 @@ static inline vk::Format PromoteFormatToDepth(vk::Format fmt) {
|
|||||||
return vk::Format::eD32Sfloat;
|
return vk::Format::eD32Sfloat;
|
||||||
} else if (fmt == vk::Format::eR16Unorm) {
|
} else if (fmt == vk::Format::eR16Unorm) {
|
||||||
return vk::Format::eD16Unorm;
|
return vk::Format::eD16Unorm;
|
||||||
|
} else if (fmt == vk::Format::eR8G8B8A8Unorm) {
|
||||||
|
return vk::Format::eD24UnormS8Uint;
|
||||||
}
|
}
|
||||||
UNREACHABLE();
|
UNREACHABLE();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user