Skip to content

Commit

Permalink
Make the window to see a queued SIF transfer bigger.
Browse files Browse the repository at this point in the history
  • Loading branch information
jpd002 committed Nov 6, 2023
1 parent f1c5006 commit f966598
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Source/ee/PS2OS.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3080,10 +3080,10 @@ void CPS2OS::sc_SifDmaStat()
return;
}

//If SIF dma has just been set (100 cycle delay), return 'queued' status.
//This is required for Okami
//If SIF dma has just been set (1000 cycle delay), return 'queued' status.
//This is required for Okami & God Hand (Clover Studio games) which expect to see the queued status.
int64 timerDiff = static_cast<uint64>(m_ee.m_State.nCOP0[CCOP_SCU::COUNT]) - static_cast<uint64>(m_sifDmaTimes[queueIdx]);
if((timerDiff < 0) || (timerDiff > 100))
if((timerDiff < 0) || (timerDiff > 1000))
{
//Completed
m_ee.m_State.nGPR[SC_RETURN].nD0 = static_cast<int32>(-1);
Expand Down

0 comments on commit f966598

Please sign in to comment.