1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-22 18:53:28 +01:00

Fix potential crash of progress dialog

This commit is contained in:
Eladash 2021-01-31 07:11:36 +02:00 committed by Megamouse
parent 31cdd7bdd2
commit b3fbada10e

View File

@ -78,7 +78,7 @@ std::array<std::deque<std::string>, 16> g_tty_input;
std::mutex g_tty_mutex;
// Progress display server synchronization variables
atomic_t<const char*> g_progr{nullptr};
atomic_t<const char*> g_progr{""};
atomic_t<u32> g_progr_ftotal{0};
atomic_t<u32> g_progr_fdone{0};
atomic_t<u32> g_progr_ptotal{0};