Skip to content

Commit

Permalink
Rename WaitForTextInLV2Update to WaitAndQueueTextInLV2
Browse files Browse the repository at this point in the history
  • Loading branch information
TheRouletteBoi committed Apr 6, 2022
1 parent c9121a4 commit 7e9ea51
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Core/Menu/Overlay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ void Overlay::NotificationUpdate()
m_NotificationQueue.pop();
}

void Overlay::WaitForTextInLV2Update()
void Overlay::WaitAndQueueTextInLV2()
{
const int size = MAX_LV2_STRING_SIZE / sizeof(uint64_t);
char text[size][sizeof(uint64_t)]{};
Expand Down Expand Up @@ -233,7 +233,7 @@ void Overlay::UpdateInfoThread(uint64_t arg)

g_Overlay.m_PayloadVersion = GetPayloadVersion();

g_Overlay.WaitForTextInLV2Update();
g_Overlay.WaitAndQueueTextInLV2();
}

sys_ppu_thread_exit(0);
Expand Down
2 changes: 1 addition & 1 deletion src/Core/Menu/Overlay.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class Overlay
void OnShutdown();
void Notify(const std::string& text);
void NotificationUpdate();
void WaitForTextInLV2Update();
void WaitAndQueueTextInLV2();

template <class T>
void clear_queue(std::queue<T>& q)
Expand Down

0 comments on commit 7e9ea51

Please sign in to comment.