From 97255f37daf702b5df4424d36668c0e9b0093f49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=80=9A=E6=B4=B2?= Date: Sun, 13 Jul 2025 20:15:48 +0800 Subject: [PATCH] Logo: load `.raw` files as raw image file --- src/logo/logo.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/logo/logo.c b/src/logo/logo.c index b11519b0e..c9a7c53b1 100644 --- a/src/logo/logo.c +++ b/src/logo/logo.c @@ -651,6 +651,12 @@ void ffLogoPrint(void) //Make sure the logo path is set correctly. updateLogoPath(); + if (ffStrbufEndsWithIgnCaseS(&options->source, ".raw")) + { + if(logoPrintFileIfExists(false, true)) + return; + } + if (!ffStrbufEndsWithIgnCaseS(&options->source, ".txt")) { const FFTerminalResult* terminal = ffDetectTerminal();