mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 05:19:56 +00:00
Fix potential crash in logging
Doesn't happen for me for some reason, but does for Nemoumbra.
This commit is contained in:
parent
25a2353bde
commit
2e74efb2fc
@ -57,6 +57,9 @@ ConsoleListener::ConsoleListener() : hidden_(true) {
|
||||
|
||||
_dbg_assert_(!g_Initialized);
|
||||
g_Initialized = true;
|
||||
|
||||
logPendingReadPos_.store(0);
|
||||
logPendingWritePos_.store(0);
|
||||
}
|
||||
|
||||
ConsoleListener::~ConsoleListener() {
|
||||
|
Loading…
Reference in New Issue
Block a user