コード例 #1
0
ファイル: sceKernelInterrupt.cpp プロジェクト: ThreeHT/ppsspp
void sceKernelCpuSuspendIntr()
{
    VERBOSE_LOG(HLE, "sceKernelCpuSuspendIntr");
    int returnValue;
    if (__InterruptsEnabled())
    {
        returnValue = 1;
        __DisableInterrupts();
    }
    else
    {
        returnValue = 0;
    }
    RETURN(returnValue);
}
コード例 #2
0
ファイル: sceKernelInterrupt.cpp プロジェクト: Almamu/ppsspp
void sceKernelCpuSuspendIntr()
{
	//LOG(HLE,"sceKernelCpuSuspendIntr");	// very spammy
	int returnValue;
	if (__InterruptsEnabled())
	{
		returnValue = 1;
		__DisableInterrupts();
	}
	else
	{
		returnValue = 0;
	}
	RETURN(returnValue);
}
コード例 #3
0
void sceKernelCpuSuspendIntr()
{
	VERBOSE_LOG(SCEINTC, "sceKernelCpuSuspendIntr");
	int returnValue;
	if (__InterruptsEnabled())
	{
		returnValue = 1;
		__DisableInterrupts();
	}
	else
	{
		returnValue = 0;
	}
	hleEatCycles(15);
	RETURN(returnValue);
}
コード例 #4
0
ファイル: sceKernelInterrupt.cpp プロジェクト: ThreeHT/ppsspp
void sceKernelIsCpuIntrEnable()
{
    u32 retVal = __InterruptsEnabled();
    DEBUG_LOG(HLE, "%i=sceKernelIsCpuIntrEnable()", retVal);
    RETURN(retVal);
}
コード例 #5
0
void sceKernelIsCpuIntrSuspended()
{
	u32 retVal = !__InterruptsEnabled(); 
	DEBUG_LOG(SCEINTC, "%i=sceKernelIsCpuIntrSuspended()", retVal);
	RETURN(retVal);
}