mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-12 17:58:37 +12:00
Small fix
This commit is contained in:
parent
6c01854fec
commit
58f436e749
2 changed files with 5 additions and 4 deletions
|
@ -1,5 +1,7 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include <emmintrin.h>
|
||||||
|
|
||||||
union u128
|
union u128
|
||||||
{
|
{
|
||||||
struct
|
struct
|
||||||
|
@ -18,6 +20,7 @@ union u128
|
||||||
s8 _s8[16];
|
s8 _s8[16];
|
||||||
float _f[4];
|
float _f[4];
|
||||||
double _d[2];
|
double _d[2];
|
||||||
|
__m128 xmm;
|
||||||
|
|
||||||
class bit_array_128
|
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);
|
return (u32)Memory.Alloc(size, align);
|
||||||
}
|
}
|
||||||
|
|
||||||
u128 sys_initialize_tls(u128 arg)
|
void sys_initialize_tls()
|
||||||
{
|
{
|
||||||
sysPrxForUser->Log("sys_initialize_tls()");
|
sysPrxForUser->Log("sys_initialize_tls()");
|
||||||
|
|
||||||
return arg;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
s64 _sys_process_atexitspawn()
|
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);
|
sysPrxForUser->Log("sys_process_is_stack(p=0x%x)", p);
|
||||||
|
|
||||||
// prx: compare high 4 bits with "0xD"
|
// 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()
|
s64 sys_prx_exitspawn_with_level()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue