mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-04 11:43:47 +01:00
Fix potential crash in logging
Doesn't happen for me for some reason, but does for Nemoumbra.
This commit is contained in:
1 parent
25a2353bde
commit
2e74efb2fc
1 file changed
+3
@@ -57,6 +57,9 @@ ConsoleListener::ConsoleListener() : hidden_(true) {
|
||||
|
||||
_dbg_assert_(!g_Initialized);
|
||||
g_Initialized = true;
|
||||
|
||||
logPendingReadPos_.store(0);
|
||||
logPendingWritePos_.store(0);
|
||||
}
|
||||
|
||||
ConsoleListener::~ConsoleListener() {
|
||||
|
||||
Reference in new issue
Block a user