/[pcsx2_0.9.7]/trunk/pcsx2/IopCounters.cpp
ViewVC logotype

Diff of /trunk/pcsx2/IopCounters.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 31 by william, Tue Sep 7 03:24:11 2010 UTC revision 62 by william, Tue Sep 7 11:08:22 2010 UTC
# Line 194  static void __fastcall _rcntTestTarget( Line 194  static void __fastcall _rcntTestTarget(
194  }  }
195    
196    
197  static __forceinline void _rcntTestOverflow( int i )  static __fi void _rcntTestOverflow( int i )
198  {  {
199          u64 maxTarget = ( i < 3 ) ? 0xffff : 0xfffffffful;          u64 maxTarget = ( i < 3 ) ? 0xffff : 0xfffffffful;
200          if( psxCounters[i].count <= maxTarget ) return;          if( psxCounters[i].count <= maxTarget ) return;
# Line 391  void psxRcntUpdate() Line 391  void psxRcntUpdate()
391          int i;          int i;
392          //u32 change = 0;          //u32 change = 0;
393    
394          g_psxNextBranchCycle = psxRegs.cycle + 32;          g_iopNextEventCycle = psxRegs.cycle + 32;
395    
396          psxNextCounter = 0x7fffffff;          psxNextCounter = 0x7fffffff;
397          psxNextsCounter = psxRegs.cycle;          psxNextsCounter = psxRegs.cycle;
# Line 538  void psxRcntWcount32(int index, u32 valu Line 538  void psxRcntWcount32(int index, u32 valu
538    
539  //////////////////////////////////////////////////////////////////////////////////////////  //////////////////////////////////////////////////////////////////////////////////////////
540  //  //
541  __forceinline void psxRcntWmode16( int index, u32 value )  __fi void psxRcntWmode16( int index, u32 value )
542  {  {
543          PSXCNT_LOG( "IOP Counter[%d] writeMode = 0x%04X", index, value );          PSXCNT_LOG( "IOP Counter[%d] writeMode = 0x%04X", index, value );
544    
# Line 599  __forceinline void psxRcntWmode16( int i Line 599  __forceinline void psxRcntWmode16( int i
599    
600  //////////////////////////////////////////////////////////////////////////////////////////  //////////////////////////////////////////////////////////////////////////////////////////
601  //  //
602  __forceinline void psxRcntWmode32( int index, u32 value )  __fi void psxRcntWmode32( int index, u32 value )
603  {  {
604          PSXCNT_LOG( "IOP Counter[%d] writeMode = 0x%04x", index, value );          PSXCNT_LOG( "IOP Counter[%d] writeMode = 0x%04x", index, value );
605    

Legend:
Removed from v.31  
changed lines
  Added in v.62

  ViewVC Help
Powered by ViewVC 1.1.22