uint32 CVIF::GetRegister(uint32 address) { uint32 result = 0; #ifdef _DEBUG DisassembleGet(address); #endif return result; }
uint32 CGIF::GetRegister(uint32 address) { uint32 result = 0; switch(address) { case GIF_STAT: if(m_gs->GetPendingTransferCount() != 0) { result |= GIF_STAT_APATH3; } break; } #ifdef _DEBUG DisassembleGet(address); #endif return result; }
uint32 CGIF::GetRegister(uint32 address) { uint32 result = 0; switch(address) { case GIF_STAT: if(m_path3Masked) { result |= GIF_STAT_M3P; //Indicate that FIFO is full (15 qwords) (needed for GTA: San Andreas) result |= (0x1F << 24); } break; } #ifdef _DEBUG DisassembleGet(address); #endif return result; }