mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-12 17:58:37 +12:00
Gui: TTY log fix
This commit is contained in:
parent
63a107acbc
commit
b3073bbf1e
1 changed files with 1 additions and 1 deletions
|
@ -255,7 +255,7 @@ void LogFrame::UpdateUI()
|
||||||
const auto start = steady_clock::now();
|
const auto start = steady_clock::now();
|
||||||
|
|
||||||
// Check TTY logs
|
// Check TTY logs
|
||||||
while (const u64 size = std::min<u64>(sizeof(buf), m_tty_file.size() - m_tty_file.pos()))
|
while (const u64 size = std::min<u64>(buf.size(), m_tty_file.size() - m_tty_file.pos()))
|
||||||
{
|
{
|
||||||
const wxString& text = get_utf8(m_tty_file, size);
|
const wxString& text = get_utf8(m_tty_file, size);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue