mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-25 22:07:12 -04:00
Merge pull request #13 from TakaRikka/26-02-24-thread-local-current-heap
Make JKRHeap::sCurrentHeap thread local
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user