Example #1
0
uint32 CVIF::GetRegister(uint32 address)
{
	uint32 result = 0;
#ifdef _DEBUG
	DisassembleGet(address);
#endif
	return result;
}
Example #2
0
File: GIF.cpp Project: cmexp/Play-
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;
}
Example #3
0
File: GIF.cpp Project: unpeng/Play-
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;
}