diff options
author | Lioncash <mathew1800@gmail.com> | 2018-08-02 17:54:20 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-08-02 17:54:23 +0200 |
commit | 9a50a4f2ccff24323f2fb34797df317c375700d6 (patch) | |
tree | e628d90cca99eefeaca24305008cb7aa9e857808 /src | |
parent | Merge pull request #896 from lioncash/audio-out (diff) | |
download | yuzu-9a50a4f2ccff24323f2fb34797df317c375700d6.tar yuzu-9a50a4f2ccff24323f2fb34797df317c375700d6.tar.gz yuzu-9a50a4f2ccff24323f2fb34797df317c375700d6.tar.bz2 yuzu-9a50a4f2ccff24323f2fb34797df317c375700d6.tar.lz yuzu-9a50a4f2ccff24323f2fb34797df317c375700d6.tar.xz yuzu-9a50a4f2ccff24323f2fb34797df317c375700d6.tar.zst yuzu-9a50a4f2ccff24323f2fb34797df317c375700d6.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/core/hle/kernel/thread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/thread.cpp b/src/core/hle/kernel/thread.cpp index 93ea58a1e..e28e620d5 100644 --- a/src/core/hle/kernel/thread.cpp +++ b/src/core/hle/kernel/thread.cpp @@ -252,7 +252,7 @@ void Thread::ResumeFromWait() { * slot: The index of the first free slot in the indicated page. * alloc_needed: Whether there's a need to allocate a new TLS page (All pages are full). */ -std::tuple<u32, u32, bool> GetFreeThreadLocalSlot(std::vector<std::bitset<8>>& tls_slots) { +static std::tuple<u32, u32, bool> GetFreeThreadLocalSlot(std::vector<std::bitset<8>>& tls_slots) { // Iterate over all the allocated pages, and try to find one where not all slots are used. for (unsigned page = 0; page < tls_slots.size(); ++page) { const auto& page_tls_slots = tls_slots[page]; |