From 7a83269d9871846aaba77014d124331d1c3dc3f4 Mon Sep 17 00:00:00 2001 From: ITotalJustice <47043333+ITotalJustice@users.noreply.github.com> Date: Mon, 2 Jun 2025 23:09:31 +0100 Subject: [PATCH] disable nvjpg for homebrew menu (for now). see https://github.com/averne/oss-nvjpg/issues/1. --- sphaira/source/ui/menus/homebrew.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sphaira/source/ui/menus/homebrew.cpp b/sphaira/source/ui/menus/homebrew.cpp index d4ae80d..931f747 100644 --- a/sphaira/source/ui/menus/homebrew.cpp +++ b/sphaira/source/ui/menus/homebrew.cpp @@ -178,7 +178,7 @@ void Menu::Draw(NVGcontext* vg, Theme* theme) { const auto icon = nro_get_icon(e.path, e.icon_size, e.icon_offset); TimeStamp ts; if (!icon.empty()) { - const auto image = ImageLoadFromMemory(icon, ImageFlag_JPEG); + const auto image = ImageLoadFromMemory(icon, ImageFlag_None); if (!image.data.empty()) { e.image = nvgCreateImageRGBA(vg, image.w, image.h, 0, image.data.data()); log_write("\t[image load] time taken: %.2fs %zums\n", ts.GetSecondsD(), ts.GetMs());