mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-27 04:08:37 +01:00
Fake netconf dialog, etc
This commit is contained in:
1 parent
aca35fc96c
commit
3e207a1490
6 files changed
+63
-10
No files matched your search
@@ -257,6 +257,9 @@ SceUID threadIdleID[2];
|
||||
|
||||
int eventScheduledWakeup;
|
||||
|
||||
bool dispatchSuspended = false;
|
||||
|
||||
|
||||
// This seems nasty
|
||||
SceUID curModule;
|
||||
|
||||
@@ -286,6 +289,8 @@ void __KernelThreadingInit()
|
||||
{
|
||||
u32 blockSize = 4 * 4 + 4 * 2 * 3; // One 16-byte thread plus 3 8-byte "hacks"
|
||||
|
||||
dispatchSuspended = false;
|
||||
|
||||
idleThreadHackAddr = kernelMemory.Alloc(blockSize, false, "threadrethack");
|
||||
// Make sure it got allocated where we expect it... at the very start of kernel RAM
|
||||
//CHECK_EQ(idleThreadHackAddr & 0x3FFFFFFF, 0x08000000);
|
||||
@@ -928,6 +933,21 @@ void sceKernelExitDeleteThread()
|
||||
}
|
||||
}
|
||||
|
||||
u32 sceKernelSuspendDispatchThread()
|
||||
{
|
||||
u32 oldDispatchSuspended = dispatchSuspended;
|
||||
dispatchSuspended = true;
|
||||
DEBUG_LOG(HLE,"%i=sceKernelSuspendDispatchThread()", oldDispatchSuspended);
|
||||
return oldDispatchSuspended;
|
||||
}
|
||||
|
||||
u32 sceKernelResumeDispatchThread(u32 suspended)
|
||||
{
|
||||
u32 oldDispatchSuspended = dispatchSuspended;
|
||||
dispatchSuspended = suspended;
|
||||
DEBUG_LOG(HLE,"%i=sceKernelResumeDispatchThread(%i)",oldDispatchSuspended, suspended);
|
||||
return oldDispatchSuspended;
|
||||
}
|
||||
|
||||
void sceKernelRotateThreadReadyQueue()
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user