mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-30 13:05:25 -05:00
impr: Speed up initial resource loading and event handling slightly
This commit is contained in:
@@ -658,7 +658,7 @@ namespace hex {
|
||||
|
||||
static std::map<std::fs::path, std::string> s_fonts;
|
||||
extern "C" void registerFont(const char *fontName, const char *fontPath) {
|
||||
s_fonts[fontPath] = fontName;
|
||||
s_fonts.emplace(fontPath, fontName);
|
||||
}
|
||||
|
||||
const std::map<std::fs::path, std::string>& getFonts() {
|
||||
|
||||
Reference in New Issue
Block a user