MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / getConfiguredOsdFontPath

Function getConfiguredOsdFontPath

pcsx2-qt/Settings/OSDSettingsWidget.cpp:18–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16static constexpr const char* OSD_DEFAULT_FONT_RESOURCE = "fonts" FS_OSPATH_SEPARATOR_STR "RobotoMono-Medium.ttf";
17
18static QString getConfiguredOsdFontPath(SettingsWindow* dialog)
19{
20 return QString::fromStdString(dialog->getEffectiveStringValue("EmuCore/GS", "OsdFontPath", ""));
21}
22
23static QString getEffectiveOsdFontPathForDisplay(SettingsWindow* dialog)
24{

Calls 1

Tested by

no test coverage detected