mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2024-12-27 10:09:52 +00:00
hot-fix: Proper abi on init_routine
This commit is contained in:
parent
1e08099036
commit
adf4b635f7
|
@ -327,7 +327,7 @@ void PS4_SYSV_ABI sched_yield() {
|
||||||
std::this_thread::yield();
|
std::this_thread::yield();
|
||||||
}
|
}
|
||||||
|
|
||||||
int PS4_SYSV_ABI posix_pthread_once(PthreadOnce* once_control, void (*init_routine)()) {
|
int PS4_SYSV_ABI posix_pthread_once(PthreadOnce* once_control, void PS4_SYSV_ABI (*init_routine)()) {
|
||||||
for (;;) {
|
for (;;) {
|
||||||
auto state = once_control->state.load();
|
auto state = once_control->state.load();
|
||||||
if (state == PthreadOnceState::Done) {
|
if (state == PthreadOnceState::Done) {
|
||||||
|
|
Loading…
Reference in a new issue