mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-14 16:06:10 +00:00
Wrap NFD::Init/Quit in ifdef; update aurora
This commit is contained in:
@@ -52,7 +52,9 @@ ImGuiPlayerLoadouts ImGuiConsole::loadouts;
|
||||
|
||||
ImGuiConsole::ImGuiConsole(CVarManager& cvarMgr, CVarCommons& cvarCommons)
|
||||
: m_cvarMgr(cvarMgr), m_cvarCommons(cvarCommons) {
|
||||
#ifdef NATIVEFILEDIALOG_SUPPORTED
|
||||
NFD::Init();
|
||||
#endif
|
||||
}
|
||||
|
||||
void ImGuiStringViewText(std::string_view text) {
|
||||
@@ -1442,7 +1444,9 @@ void ImGuiConsole::PostUpdate() {
|
||||
void ImGuiConsole::Shutdown() {
|
||||
dummyWorlds.clear();
|
||||
stringTables.clear();
|
||||
#ifdef NATIVEFILEDIALOG_SUPPORTED
|
||||
NFD::Quit();
|
||||
#endif
|
||||
}
|
||||
|
||||
static constexpr std::array GeneralItems{
|
||||
|
||||
2
extern/aurora
vendored
2
extern/aurora
vendored
Submodule extern/aurora updated: 5b25b6cee1...c649cd62ee
Reference in New Issue
Block a user