mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-16 07:50:28 +02:00
Add ability to flag function to clear a bit of stack. See #6374, idea by JPCSP, pointed out by sum2012.
This commit is contained in:
1 parent
acdd0807f5
commit
fd1dcb881f
5 files changed
+28
-10
No files matched your search
@@ -2538,6 +2538,14 @@ u32 __KernelGetCurThreadStack()
|
||||
return 0;
|
||||
}
|
||||
|
||||
u32 __KernelGetCurThreadStackStart()
|
||||
{
|
||||
Thread *t = __GetCurrentThread();
|
||||
if (t)
|
||||
return t->currentStack.start;
|
||||
return 0;
|
||||
}
|
||||
|
||||
SceUID sceKernelGetThreadId()
|
||||
{
|
||||
VERBOSE_LOG(SCEKERNEL, "%i = sceKernelGetThreadId()", currentThread);
|
||||
|
||||
Reference in new issue
Block a user