Small fix

This commit is contained in:
Nekotekina 2014-09-07 03:35:48 +04:00
parent 6c01854fec
commit 58f436e749
2 changed files with 5 additions and 4 deletions

View File

@ -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
{

View File

@ -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()