git-svn-id: http://svn.purei.org/purei/trunk@77 b36208d7-6611-0410-8bec-b1987f11c4a2

This commit is contained in:
jpd002 2006-08-08 22:17:33 +00:00
parent 1d04853ae0
commit 4f913cc4a6
3 changed files with 11 additions and 9 deletions

View File

@ -933,7 +933,7 @@ uint32 CPS2OS::GetNextReadyThread()
CRoundRibbon::ITERATOR itThread(m_pThreadSchedule);
THREAD* pThread;
unsigned int nID;
/*
unsigned int nRand, nCount;
srand((unsigned int)time(NULL));
nRand = rand();
@ -981,7 +981,8 @@ uint32 CPS2OS::GetNextReadyThread()
}
return nID;
/*
*/
for(itThread = m_pThreadSchedule->Begin(); !itThread.IsEnd(); itThread++)
{
nID = itThread.GetValue();
@ -1002,7 +1003,7 @@ uint32 CPS2OS::GetNextReadyThread()
m_pThreadSchedule->Insert(nID, pThread->nPriority);
return nID;
*/
}
void CPS2OS::CreateWaitThread()
@ -2007,6 +2008,9 @@ void CPS2OS::sc_SifSetDma()
m_pCtx->m_State.nGPR[SC_RETURN].nV[0] = nCount;
m_pCtx->m_State.nGPR[SC_RETURN].nV[1] = 0;
//Force reschedule
ElectThread(GetNextReadyThread());
for(i = 0; i < nCount; i++)
{
nSize = (pXfer[i].nSize + 0x0F) / 0x10;
@ -2016,9 +2020,6 @@ void CPS2OS::sc_SifSetDma()
CDMAC::SetRegister(CDMAC::D6_QWC, nSize);
CDMAC::SetRegister(CDMAC::D6_CHCR, 0x00000100);
}
//Force reschedule
ElectThread(GetNextReadyThread());
}
//78

View File

@ -1005,14 +1005,14 @@ void CGSH_OpenGL::WriteRegister(uint8 nRegister, uint64 nData)
case GS_REG_FOGCOL:
SetupFogColor();
break;
/*
//Atelier Iris
//Ys 1 & 2 : Eternal Story
case GS_REG_FRAME_1:
Flip();
break;
*/
/*
//Castlevania: CoD
case GS_REG_FRAME_1:
case GS_REG_FRAME_2:
@ -1035,7 +1035,7 @@ void CGSH_OpenGL::WriteRegister(uint8 nRegister, uint64 nData)
}
}
break;
*/
}
}

View File

@ -5,6 +5,7 @@
<Patch Address="0x0029B758" Value="0x00000000" Description="Skips movies" />
<Patch Address="0x0029B768" Value="0x00000000" Description="Skips movies" />
<Patch Address="0x0029B774" Value="0x00000000" Description="Skips movies" />
<Patch Address="0x0029E910" Value="0x00000000" Description="Skips movies" />
</Executable>
<Executable Name="SLUS_211.13;1">
<Patch Address="0x002E5A80" Value="0x8000033C" Description="Removes VU1 MAC flag check for world map" />