From 7d8265d9f3f5ba11f0c253dd6f9a7789f03e0440 Mon Sep 17 00:00:00 2001 From: Erymanthus | RayDeeUx <51521765+RayDeeUx@users.noreply.github.com> Date: Sat, 28 Sep 2024 07:36:54 -0400 Subject: [PATCH] bugfix! --- src/Utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Utils.cpp b/src/Utils.cpp index 8e362e1..4ebc361 100644 --- a/src/Utils.cpp +++ b/src/Utils.cpp @@ -308,7 +308,7 @@ SongInfoObject* Utils::getSongInfoObject() { if (Utils::getBool("useCustomSongs")) return nullptr; if (SongManager::get().isOriginalMenuLoop()) return nullptr; - auto songFileName = std::filesystem::path(SongManager::get().getCurrentSong()).filename(); + auto songFileName = std::filesystem::path(SongManager::get().getCurrentSong()).filename().string(); // if it's not menuLoop.mp3, then get info size_t dotPos = songFileName.find_last_of('.');