Gtk: Add OSD ImGui check back.

This commit is contained in:
BearOso 2023-05-06 10:16:10 -05:00
parent 66df6f4182
commit 8d8e691c89
1 changed files with 5 additions and 0 deletions

View File

@ -1021,6 +1021,11 @@ void S9xInitDisplay(int argc, char **argv)
S9xInitDriver();
S9xGraphicsInit();
S9xDisplayReconfigure();
S9xCustomDisplayString = [](const char *str, int linesFromBottom, int pixelsFromLeft, bool allowWrap, int type) {
if (!S9xImGuiRunning())
S9xVariableDisplayString(str, linesFromBottom, pixelsFromLeft, allowWrap, type);
};
}
bool S9xDisplayDriverIsReady()