diff options
| author | Jordan Woyak <jordan.woyak@gmail.com> | 2013-02-16 23:42:00 -0600 |
|---|---|---|
| committer | Jordan Woyak <jordan.woyak@gmail.com> | 2013-02-16 23:48:20 -0600 |
| commit | 537d5ea9429390f5924f4e2cc3adeef4260370f0 (patch) | |
| tree | 35b75bbb7c33c9ee5b10f44898ed2a41a3e2f724 /Source/Core/VideoCommon | |
| parent | 123035a192d83e171e6775812dc38e5fbe75257d (diff) | |
Use omp_get_num_procs to set the number of OpenMP threads rather than our core count detection.
Diffstat (limited to 'Source/Core/VideoCommon')
| -rw-r--r-- | Source/Core/VideoCommon/Src/TextureDecoder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/Src/TextureDecoder.cpp b/Source/Core/VideoCommon/Src/TextureDecoder.cpp index 44efcf8bae..30df817902 100644 --- a/Source/Core/VideoCommon/Src/TextureDecoder.cpp +++ b/Source/Core/VideoCommon/Src/TextureDecoder.cpp @@ -692,7 +692,7 @@ inline void SetOpenMPThreadCount(int width, int height) if (g_ActiveConfig.bOMPDecoder && width > 127 && height > 127) { // don't span to many threads they will kill the rest of the emu :) - omp_set_num_threads((cpu_info.num_cores + 2) / 3); + omp_set_num_threads((omp_get_num_procs() + 2) / 3); } else { |
