cs: fix allocator aborts

This commit is contained in:
Michael Scire 2021-07-27 23:55:53 -07:00 committed by SciresM
parent ebb0bd2b41
commit 8acf0a4fa9
4 changed files with 51 additions and 7 deletions

View file

@ -70,7 +70,7 @@ namespace ams::cs {
alignas(os::MemoryPageSize) constinit u8 g_heap_memory[32_KB];
alignas(0x40) constinit u8 g_htcs_buffer[1_KB];
alignas(0x40) constinit u8 g_htcs_buffer[2_KB];
constinit os::SdkMutex g_heap_mutex;
constinit lmem::HeapHandle g_heap_handle;