diff options
| author | Archez <Archez@users.noreply.github.com> | 2025-02-03 22:34:17 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-03 22:34:17 -0500 |
| commit | 63079f1cf67f3ba90367111cab447db51617ca81 (patch) | |
| tree | 290db4319db349589d5d4e44ed998510ccf6a53b /mm/2s2h/DeveloperTools/EventLog.cpp | |
| parent | cf8f57a2c9f2a0a4fcb352ec991f398ada1af51e (diff) | |
Bump LUS and OTRExporter pt.1 (#982)
Diffstat (limited to 'mm/2s2h/DeveloperTools/EventLog.cpp')
| -rw-r--r-- | mm/2s2h/DeveloperTools/EventLog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/2s2h/DeveloperTools/EventLog.cpp b/mm/2s2h/DeveloperTools/EventLog.cpp index e1da01d23..677da9d57 100644 --- a/mm/2s2h/DeveloperTools/EventLog.cpp +++ b/mm/2s2h/DeveloperTools/EventLog.cpp @@ -313,7 +313,7 @@ void EventLogWindow::DrawElement() { CVarSetInteger("gEventLog.Filter.OpenText", 0); CVarSetInteger("gEventLog.Filter.ItemGive", 0); } - Ship::Context::GetInstance()->GetWindow()->GetGui()->SaveConsoleVariablesOnNextTick(); + Ship::Context::GetInstance()->GetWindow()->GetGui()->SaveConsoleVariablesNextFrame(); } g->CurrentItemFlags = backup_item_flags; @@ -342,7 +342,7 @@ void EventLogWindow::DrawElement() { s32 maxEntries = CVarGetInteger("gEventLog.MaxEntries", 1000); if (ImGui::InputScalar("##maxEntriesInput", ImGuiDataType_S32, &maxEntries)) { CVarSetInteger("gEventLog.MaxEntries", MAX(0, maxEntries)); - Ship::Context::GetInstance()->GetWindow()->GetGui()->SaveConsoleVariablesOnNextTick(); + Ship::Context::GetInstance()->GetWindow()->GetGui()->SaveConsoleVariablesNextFrame(); TrimEventLog(); } ImGui::PopItemWidth(); |
