mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 00:59:44 -06:00
fix some comments, some files with mixed line endings, some warnings.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@757 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -360,6 +360,7 @@ bool XInput_Read(int xpadplayer, SPADStatus* _pPADStatus)
|
||||
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
#else
|
||||
return false;
|
||||
#endif
|
||||
|
@ -16,11 +16,11 @@
|
||||
// http://code.google.com/p/dolphin-emu/
|
||||
|
||||
//DL facts:
|
||||
// Ikaruga uses NO display lists!
|
||||
// Ikaruga uses (nearly) NO display lists!
|
||||
// Zelda WW uses TONS of display lists
|
||||
// Zelda TP uses almost 100% display lists except menus (we like this!)
|
||||
|
||||
// Note that it IS NOT POSSIBLE to precompile display lists! You can compile them as they are
|
||||
// Note that it IS NOT GENERALLY POSSIBLE to precompile display lists! You can compile them as they are
|
||||
// and hope that the vertex format doesn't change, though, if you do it just when they are
|
||||
// called. The reason is that the vertex format affects the sizes of the vertices.
|
||||
|
||||
@ -49,7 +49,7 @@
|
||||
DecodedVArray tempvarray;
|
||||
// TODO (mb2): all! DataReader inline for DX9
|
||||
#ifdef DATAREADER_INLINE
|
||||
u8 *g_pVideoData=0;
|
||||
u8 *g_pVideoData = 0;
|
||||
#endif
|
||||
void Decode();
|
||||
|
||||
|
@ -30,10 +30,10 @@ extern u32 FAKE_ReadFifo32();
|
||||
extern int FAKE_GetPosition();
|
||||
extern u8* FAKE_GetFifoCurrentPtr();
|
||||
extern void FAKE_SkipFifo(u32 skip);
|
||||
|
||||
IDataReader::~IDataReader()
|
||||
{
|
||||
}
|
||||
|
||||
IDataReader::~IDataReader()
|
||||
{
|
||||
}
|
||||
|
||||
CDataReader_Fifo::CDataReader_Fifo(void)
|
||||
{
|
||||
|
@ -27,9 +27,9 @@
|
||||
// =================================================================================================
|
||||
|
||||
class IDataReader
|
||||
{
|
||||
protected:
|
||||
virtual ~IDataReader();
|
||||
{
|
||||
protected:
|
||||
virtual ~IDataReader();
|
||||
|
||||
public:
|
||||
virtual void Skip(u32) = 0;
|
||||
|
@ -191,7 +191,7 @@ int VertexLoader::ComputeVertexSize()
|
||||
break;
|
||||
}
|
||||
|
||||
VertexLoader_Normal::index3 = m_VtxAttr.NormalIndex3;
|
||||
VertexLoader_Normal::index3 = m_VtxAttr.NormalIndex3 ? true : false;
|
||||
if (m_VtxDesc.Normal != NOT_PRESENT)
|
||||
m_VertexSize += VertexLoader_Normal::GetSize(m_VtxDesc.Normal, m_VtxAttr.NormalFormat, m_VtxAttr.NormalElements);
|
||||
|
||||
|
Reference in New Issue
Block a user