diff options
| author | Jameriquiah <42100286+Jameriquiah@users.noreply.github.com> | 2026-07-21 22:22:35 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-07-21 22:22:35 -0400 |
| commit | 65fb1b6e3cc49780057208f4050a160d1a4bdfc7 (patch) | |
| tree | c0f2434ea2ee47c51cbb47ede559d4d5b318ec23 /mm/2s2h/DeveloperTools/EventLog.cpp | |
| parent | f86e04b4d5492906718aa7bacf5b92d55756006c (diff) | |
Bump LUS to port-maintenance (#1801)
* bump lus to port-maintenance
* clang
* remove redundant cast
* clang again
* update lus commit
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 f61804295..bc83982da 100644 --- a/mm/2s2h/DeveloperTools/EventLog.cpp +++ b/mm/2s2h/DeveloperTools/EventLog.cpp @@ -311,7 +311,7 @@ void EventLogWindow::DrawElement() { CVarSetInteger("gEventLog.Filter.OpenText", 0); CVarSetInteger("gEventLog.Filter.ItemGive", 0); } - Ship::Context::GetInstance()->GetWindow()->GetGui()->SaveConsoleVariablesNextFrame(); + Ship::Context::GetRawInstance()->GetWindow()->GetGui()->SaveConsoleVariablesNextFrame(); } g->CurrentItemFlags = backup_item_flags; @@ -340,7 +340,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()->SaveConsoleVariablesNextFrame(); + Ship::Context::GetRawInstance()->GetWindow()->GetGui()->SaveConsoleVariablesNextFrame(); TrimEventLog(); } ImGui::PopItemWidth(); |
