mirror of
https://github.com/libretro/RetroArch
synced 2025-03-09 13:13:31 +00:00
15 lines
250 B
C++
15 lines
250 B
C++
#ifndef __LWP_STACK_INL__
|
|
#define __LWP_STACK_INL__
|
|
|
|
static __inline__ u32 __lwp_stack_isenough(u32 size)
|
|
{
|
|
return (size>=CPU_MINIMUM_STACK_SIZE);
|
|
}
|
|
|
|
static __inline__ u32 __lwp_stack_adjust(u32 size)
|
|
{
|
|
return (size+CPU_STACK_ALIGNMENT);
|
|
}
|
|
|
|
#endif
|