diff --git a/source/core/rendering/screen.cpp b/source/core/rendering/screen.cpp index 7b48e497..20ddfc65 100644 --- a/source/core/rendering/screen.cpp +++ b/source/core/rendering/screen.cpp @@ -396,10 +396,14 @@ void Screen::renderInfo() const { if (show_debug_info_ && (Resource::Cache::get() != nullptr)) { auto text = Resource::Cache::get()->getText("smb2"); auto color = static_cast(PaletteColor::YELLOW); + auto shadow = static_cast(PaletteColor::BLACK); - // FPS + // FPS con sombra const std::string FPS_TEXT = std::to_string(fps_.last_value) + " FPS"; - text->writeColored(Options::game.width - text->length(FPS_TEXT), 0, FPS_TEXT, color); + const int FPS_X = Options::game.width - text->length(FPS_TEXT) - 1; + + text->writeColored(FPS_X + 1, 1, FPS_TEXT, shadow); + text->writeColored(FPS_X, 0, FPS_TEXT, color); } }