mirror of https://github.com/AxioDL/metaforce.git
Wrap NFD::Init/Quit in ifdef; update aurora
This commit is contained in:
parent
49362ef591
commit
9f874e6731
|
@ -52,7 +52,9 @@ ImGuiPlayerLoadouts ImGuiConsole::loadouts;
|
||||||
|
|
||||||
ImGuiConsole::ImGuiConsole(CVarManager& cvarMgr, CVarCommons& cvarCommons)
|
ImGuiConsole::ImGuiConsole(CVarManager& cvarMgr, CVarCommons& cvarCommons)
|
||||||
: m_cvarMgr(cvarMgr), m_cvarCommons(cvarCommons) {
|
: m_cvarMgr(cvarMgr), m_cvarCommons(cvarCommons) {
|
||||||
|
#ifdef NATIVEFILEDIALOG_SUPPORTED
|
||||||
NFD::Init();
|
NFD::Init();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void ImGuiStringViewText(std::string_view text) {
|
void ImGuiStringViewText(std::string_view text) {
|
||||||
|
@ -1442,7 +1444,9 @@ void ImGuiConsole::PostUpdate() {
|
||||||
void ImGuiConsole::Shutdown() {
|
void ImGuiConsole::Shutdown() {
|
||||||
dummyWorlds.clear();
|
dummyWorlds.clear();
|
||||||
stringTables.clear();
|
stringTables.clear();
|
||||||
|
#ifdef NATIVEFILEDIALOG_SUPPORTED
|
||||||
NFD::Quit();
|
NFD::Quit();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
static constexpr std::array GeneralItems{
|
static constexpr std::array GeneralItems{
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 5b25b6cee172466c216c0e3a4ad72752d545ab9d
|
Subproject commit c649cd62eefa83da67a7ea3640eaf27ae50d8425
|
Loading…
Reference in New Issue