Merge pull request #13 from TakaRikka/26-02-24-thread-local-current-heap

Make JKRHeap::sCurrentHeap thread local
This commit is contained in:
TakaRikka
2026-02-24 14:53:44 -08:00
committed by GitHub
3 changed files with 33 additions and 5 deletions
+3 -1
View File
@@ -285,7 +285,9 @@ void mDoGph_gInf_c::create() {
VISetTrapFilter(0);
#endif
#if PLATFORM_GCN
#if TARGET_PC
JFWDisplay::createManager(JKRHeap::getCurrentHeap(), JUTXfb::UNK_2, true);
#elif PLATFORM_GCN
JFWDisplay::createManager(JKRHeap::sCurrentHeap, JUTXfb::UNK_2, true);
#else
JFWDisplay::createManager(JKRHeap::getRootHeap2(), JUTXfb::UNK_2, true);