mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04: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
1 changed files with 3 additions and 0 deletions
|
@ -57,6 +57,9 @@ ConsoleListener::ConsoleListener() : hidden_(true) {
|
||||||
|
|
||||||
_dbg_assert_(!g_Initialized);
|
_dbg_assert_(!g_Initialized);
|
||||||
g_Initialized = true;
|
g_Initialized = true;
|
||||||
|
|
||||||
|
logPendingReadPos_.store(0);
|
||||||
|
logPendingWritePos_.store(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
ConsoleListener::~ConsoleListener() {
|
ConsoleListener::~ConsoleListener() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue