mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-07-11 09:35:09 +02:00
Test fix
This commit is contained in:
@@ -209,7 +209,7 @@ void SetCurrentThreadNameThroughException(const char *threadName) {
|
||||
|
||||
void AssertCurrentThreadName(const char *threadName) {
|
||||
#ifdef TLS_SUPPORTED
|
||||
if (strcmp(curThreadName, threadName) != 0) {
|
||||
if (curThreadName && strcmp(curThreadName, threadName) != 0) {
|
||||
ERROR_LOG(Log::System, "Thread name assert failed: Expected %s, was %s", threadName, curThreadName);
|
||||
_dbg_assert_msg_(false, "Thread name assert failed: Expected %s, was %s", threadName, curThreadName);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user