impr: Move plugin unload logging to plugins

This commit is contained in:
WerWolv
2024-01-09 10:53:50 +01:00
parent 874bac7de2
commit 301e95b708
3 changed files with 52 additions and 54 deletions

View File

@@ -9,7 +9,7 @@
#include <ui/pattern_drawer.hpp>
#include <ui/widgets.hpp>
IMHEX_LIBRARY_SETUP() {
IMHEX_LIBRARY_SETUP("UI") {
hex::log::debug("Using romfs: '{}'", romfs::name());
for (auto &path : romfs::list("lang"))
hex::ContentRegistry::Language::addLocalization(nlohmann::json::parse(romfs::get(path).string()));