Changed type of GetTicksPer(Line|Frame) to unsigned.
Avoids a GCC warning about comparing signed and unsigned values in Source/Core/Core/Src/State.cpp.
This commit is contained in:
parent
f50ea590ce
commit
045eb924d9
|
@ -759,7 +759,7 @@ void UpdateParameters()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
int GetTicksPerLine()
|
unsigned GetTicksPerLine()
|
||||||
{
|
{
|
||||||
if (s_lineCount == 0)
|
if (s_lineCount == 0)
|
||||||
{
|
{
|
||||||
|
@ -771,7 +771,7 @@ int GetTicksPerLine()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
int GetTicksPerFrame()
|
unsigned GetTicksPerFrame()
|
||||||
{
|
{
|
||||||
return TicksPerFrame;
|
return TicksPerFrame;
|
||||||
}
|
}
|
||||||
|
|
|
@ -357,8 +357,8 @@ union UVIDTVStatus
|
||||||
// Change values pertaining to video mode
|
// Change values pertaining to video mode
|
||||||
void UpdateParameters();
|
void UpdateParameters();
|
||||||
|
|
||||||
int GetTicksPerLine();
|
unsigned GetTicksPerLine();
|
||||||
int GetTicksPerFrame();
|
unsigned GetTicksPerFrame();
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // _VIDEOINTERFACE_H
|
#endif // _VIDEOINTERFACE_H
|
||||||
|
|
Loading…
Reference in New Issue