mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-01 03:32:07 +00:00
Small fix
This commit is contained in:
parent
6c01854fec
commit
58f436e749
@ -1,5 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <emmintrin.h>
|
||||
|
||||
union u128
|
||||
{
|
||||
struct
|
||||
@ -18,6 +20,7 @@ union u128
|
||||
s8 _s8[16];
|
||||
float _f[4];
|
||||
double _d[2];
|
||||
__m128 xmm;
|
||||
|
||||
class bit_array_128
|
||||
{
|
||||
|
@ -52,11 +52,9 @@ u32 _sys_heap_memalign(u32 heap_id, u32 align, u32 size)
|
||||
return (u32)Memory.Alloc(size, align);
|
||||
}
|
||||
|
||||
u128 sys_initialize_tls(u128 arg)
|
||||
void sys_initialize_tls()
|
||||
{
|
||||
sysPrxForUser->Log("sys_initialize_tls()");
|
||||
|
||||
return arg;
|
||||
}
|
||||
|
||||
s64 _sys_process_atexitspawn()
|
||||
@ -76,7 +74,7 @@ int sys_process_is_stack(u32 p)
|
||||
sysPrxForUser->Log("sys_process_is_stack(p=0x%x)", p);
|
||||
|
||||
// prx: compare high 4 bits with "0xD"
|
||||
return (int)(bool)(p >= Memory.StackMem.GetStartAddr() && p <= Memory.StackMem.GetEndAddr());
|
||||
return (p >= Memory.StackMem.GetStartAddr() && p <= Memory.StackMem.GetEndAddr()) ? 1 : 0;
|
||||
}
|
||||
|
||||
s64 sys_prx_exitspawn_with_level()
|
||||
|
Loading…
Reference in New Issue
Block a user