diff options
author | noah the goodra <peterpan0413@live.com> | 2017-02-04 21:17:52 +0100 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2017-02-04 21:17:52 +0100 |
commit | 2509c440785d94a3a8ba7674da691842ae14b7af (patch) | |
tree | ccc7cdd9a980ef86462ada7e7229f3a7fafeaaae /externals/microprofile | |
parent | Merge pull request #2496 from mailwl/cfg-mem (diff) | |
download | yuzu-2509c440785d94a3a8ba7674da691842ae14b7af.tar yuzu-2509c440785d94a3a8ba7674da691842ae14b7af.tar.gz yuzu-2509c440785d94a3a8ba7674da691842ae14b7af.tar.bz2 yuzu-2509c440785d94a3a8ba7674da691842ae14b7af.tar.lz yuzu-2509c440785d94a3a8ba7674da691842ae14b7af.tar.xz yuzu-2509c440785d94a3a8ba7674da691842ae14b7af.tar.zst yuzu-2509c440785d94a3a8ba7674da691842ae14b7af.zip |
Diffstat (limited to 'externals/microprofile')
-rw-r--r-- | externals/microprofile/microprofileui.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/externals/microprofile/microprofileui.h b/externals/microprofile/microprofileui.h index 66a73abc5..09223b33f 100644 --- a/externals/microprofile/microprofileui.h +++ b/externals/microprofile/microprofileui.h @@ -1231,7 +1231,7 @@ void MicroProfileDrawDetailedBars(uint32_t nWidth, uint32_t nHeight, int nBaseY, char ThreadName[MicroProfileThreadLog::THREAD_MAX_LEN + 16]; const char* cLocal = MicroProfileIsLocalThread(nThreadId) ? "*": " "; -#if defined(WIN32) +#if defined(_WIN32) // nThreadId is 32-bit on Windows int nStrLen = snprintf(ThreadName, sizeof(ThreadName)-1, "%04x: %s%s", nThreadId, cLocal, i < nNumThreadsBase ? &S.Pool[i]->ThreadName[0] : MICROPROFILE_THREAD_NAME_FROM_ID(nThreadId) ); #else |