Path fixes for simulator (#357)

This commit is contained in:
Ken Van Hoeylandt
2025-10-03 22:12:55 +02:00
committed by GitHub
parent efd9662cfc
commit a05a6afaaf
11 changed files with 38 additions and 12 deletions
+3 -1
View File
@@ -1,3 +1,5 @@
#include "Tactility/lvgl/Lvgl.h"
#include <Tactility/TactilityCore.h>
#include <Tactility/TactilityPrivate.h>
#include <Tactility/app/AppContext.h>
@@ -169,7 +171,7 @@ public:
} else {
logo = hal::usb::isUsbBootMode() ? "logo_usb.png" : "logo.png";
}
const auto logo_path = "A:" + paths->getAssetsPath(logo);
const auto logo_path = lvgl::PATH_PREFIX + paths->getAssetsPath(logo);
TT_LOG_I(TAG, "%s", logo_path.c_str());
lv_image_set_src(image, logo_path.c_str());
}