summaryrefslogtreecommitdiff
path: root/mm/2s2h/DeveloperTools/EventLog.cpp
diff options
context:
space:
mode:
authorArchez <Archez@users.noreply.github.com>2024-05-03 15:57:40 -0400
committerGarrett Cox <garrettjcox@gmail.com>2024-05-22 09:05:03 -0500
commit8cec7afa252d744074873c4898c66df03c9865fc (patch)
tree8fd1043b3670aa9e1992e58c9d32f3ff51dab20b /mm/2s2h/DeveloperTools/EventLog.cpp
parent44ded41793364538e2727f1a7bdfc8aa67ef6a72 (diff)
Bump lus with packages, new namespace, and global factories (#292)
* imgui * detangle zapdutils * ship namespace * register global factories * readfb * deps * bump submodules * keyframe * bump modules
Diffstat (limited to 'mm/2s2h/DeveloperTools/EventLog.cpp')
-rw-r--r--mm/2s2h/DeveloperTools/EventLog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/2s2h/DeveloperTools/EventLog.cpp b/mm/2s2h/DeveloperTools/EventLog.cpp
index a1871307e..7c0f0ba22 100644
--- a/mm/2s2h/DeveloperTools/EventLog.cpp
+++ b/mm/2s2h/DeveloperTools/EventLog.cpp
@@ -327,7 +327,7 @@ void EventLogWindow::DrawElement() {
CVarSetInteger("gEventLog.Filter.OpenText", 0);
CVarSetInteger("gEventLog.Filter.ItemGive", 0);
}
- LUS::Context::GetInstance()->GetWindow()->GetGui()->SaveConsoleVariablesOnNextTick();
+ Ship::Context::GetInstance()->GetWindow()->GetGui()->SaveConsoleVariablesOnNextTick();
}
g->CurrentItemFlags = backup_item_flags;
@@ -356,7 +356,7 @@ void EventLogWindow::DrawElement() {
s32 maxEntries = CVarGetInteger("gEventLog.MaxEntries", 1000);
if (ImGui::InputScalar("##maxEntriesInput", ImGuiDataType_S32, &maxEntries)) {
CVarSetInteger("gEventLog.MaxEntries", MAX(0, maxEntries));
- LUS::Context::GetInstance()->GetWindow()->GetGui()->SaveConsoleVariablesOnNextTick();
+ Ship::Context::GetInstance()->GetWindow()->GetGui()->SaveConsoleVariablesOnNextTick();
TrimEventLog();
}
ImGui::PopItemWidth();