mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-05 15:48:51 +00: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:
parent
d4e8e3a6a3
commit
5b8722b6f2
1 changed files with 2 additions and 2 deletions
|
@ -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";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue