mirror of https://github.com/PCSX2/pcsx2.git
IopMem: Added FireWire port handling to the new IopHardware handlers (oops!).
EErec: Removed an instance of duplicated cycle counting for split blocks. git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1146 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
c64691811a
commit
9c0a978d5c
|
@ -395,7 +395,7 @@ mem32_t __fastcall iopHwRead32_Page8( u32 addr )
|
|||
const int parm = (masked_addr-0x240) / 8;
|
||||
ret = (masked_addr & 4) ? sio2_getSend2( parm ) : sio2_getSend1( parm );
|
||||
}
|
||||
else
|
||||
else if( masked_addr <= 0x280 )
|
||||
{
|
||||
switch( masked_addr )
|
||||
{
|
||||
|
@ -423,6 +423,10 @@ mem32_t __fastcall iopHwRead32_Page8( u32 addr )
|
|||
break;
|
||||
}
|
||||
}
|
||||
else if( addr >= pgmsk(HW_FW_START) && addr <= pgmsk(HW_FW_END) )
|
||||
{
|
||||
ret = FWread32( addr );
|
||||
}
|
||||
}
|
||||
else ret = psxHu32(addr);
|
||||
|
||||
|
|
|
@ -521,7 +521,7 @@ void __fastcall iopHwWrite32_Page8( u32 addr, mem32_t val )
|
|||
const int parm = (masked_addr-0x240) / 8;
|
||||
if(masked_addr & 4) sio2_setSend2( parm, val ); else sio2_setSend1( parm, val );
|
||||
}
|
||||
else
|
||||
else if( masked_addr <= 0x280 )
|
||||
{
|
||||
switch( masked_addr )
|
||||
{
|
||||
|
@ -536,6 +536,10 @@ void __fastcall iopHwWrite32_Page8( u32 addr, mem32_t val )
|
|||
break;
|
||||
}
|
||||
}
|
||||
else if( addr >= pgmsk(HW_FW_START) && addr <= pgmsk(HW_FW_END) )
|
||||
{
|
||||
FWwrite32( addr, val );
|
||||
}
|
||||
}
|
||||
else psxHu32(addr) = val;
|
||||
|
||||
|
|
|
@ -190,13 +190,13 @@ static __forceinline const char* _log_GetIopHwName( u32 addr )
|
|||
{
|
||||
return "SPU2";
|
||||
}
|
||||
else if( addr >= 0x1f808200 )
|
||||
else if( addr >= pgmsk(HW_FW_START) && addr <= pgmsk(HW_FW_END) )
|
||||
{
|
||||
if( addr < 0x1f808240 )
|
||||
return "SIO2 param";
|
||||
else if( addr < 0x260 )
|
||||
return "SIO2 send";
|
||||
return "FW";
|
||||
}
|
||||
else if( addr >= 0x1f808200 && addr < 0x1f808240 ) { return "SIO2 param"; }
|
||||
else if( addr >= 0x1f808240 && addr < 0x1f808260 ) { return "SIO2 send"; }
|
||||
|
||||
return "Unknown";
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1623,11 +1623,8 @@ StartRecomp:
|
|||
}
|
||||
else
|
||||
{
|
||||
assert( branch != 3 );
|
||||
if( branch )
|
||||
assert( !willbranch3 );
|
||||
else
|
||||
ADD32ItoM((int)&cpuRegs.cycle, eeScaleBlockCycles() );
|
||||
|
||||
if( willbranch3 || !branch) {
|
||||
|
||||
|
|
Loading…
Reference in New Issue