Log FPS with SDL_Log for now

This commit is contained in:
Anders Jenbo 2025-06-04 14:16:01 +02:00
parent 72eb992af4
commit 6444b5c708

View File

@ -473,6 +473,7 @@ void LegoVideoManager::DrawFPS()
char buffer[32]; char buffer[32];
MxFloat time = (Timer()->GetTime() - m_unk0x54c) / 1000.0f; MxFloat time = (Timer()->GetTime() - m_unk0x54c) / 1000.0f;
MxS32 nb = sprintf(buffer, "%.02f", m_unk0x550 / time); MxS32 nb = sprintf(buffer, "%.02f", m_unk0x550 / time);
SDL_Log("%.02f", m_unk0x550 / time);
m_unk0x54c = Timer()->GetTime(); m_unk0x54c = Timer()->GetTime();
DDSURFACEDESC surfaceDesc; DDSURFACEDESC surfaceDesc;