mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
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)
|
||||
{
|
||||
@ -771,7 +771,7 @@ int GetTicksPerLine()
|
||||
}
|
||||
}
|
||||
|
||||
int GetTicksPerFrame()
|
||||
unsigned GetTicksPerFrame()
|
||||
{
|
||||
return TicksPerFrame;
|
||||
}
|
||||
|
@ -357,8 +357,8 @@ union UVIDTVStatus
|
||||
// Change values pertaining to video mode
|
||||
void UpdateParameters();
|
||||
|
||||
int GetTicksPerLine();
|
||||
int GetTicksPerFrame();
|
||||
unsigned GetTicksPerLine();
|
||||
unsigned GetTicksPerFrame();
|
||||
};
|
||||
|
||||
#endif // _VIDEOINTERFACE_H
|
||||
|
Loading…
Reference in New Issue
Block a user