mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-26 07:39:45 -06:00
Don't pass u64 (which may be long long) to %lu.
A type-safe StringFromFormat sure would be nice...
This commit is contained in:
@ -719,9 +719,9 @@ void Renderer::DrawDebugInfo()
|
|||||||
debug_info += " - ";
|
debug_info += " - ";
|
||||||
if (SConfig::GetInstance().m_ShowFrameCount)
|
if (SConfig::GetInstance().m_ShowFrameCount)
|
||||||
{
|
{
|
||||||
debug_info += StringFromFormat("Frame: %lu", Movie::g_currentFrame);
|
debug_info += StringFromFormat("Frame: %llu", (unsigned long long) Movie::g_currentFrame);
|
||||||
if (Movie::IsPlayingInput())
|
if (Movie::IsPlayingInput())
|
||||||
debug_info += StringFromFormat(" / %lu", Movie::g_totalFrames);
|
debug_info += StringFromFormat(" / %llu", (unsigned long long) Movie::g_totalFrames);
|
||||||
}
|
}
|
||||||
|
|
||||||
debug_info += "\n";
|
debug_info += "\n";
|
||||||
|
Reference in New Issue
Block a user