mirror of
https://github.com/ndeadly/MissionControl
synced 2025-02-16 21:28:25 +00:00
bluetooth-mitm: reduce memory usage
This commit is contained in:
parent
f7a7f78468
commit
76584232e2
4 changed files with 4 additions and 4 deletions
|
@ -3,7 +3,7 @@
|
|||
"title_id": "0x010000000000bd00",
|
||||
"title_id_range_min": "0x010000000000bd00",
|
||||
"title_id_range_max": "0x010000000000bd00",
|
||||
"main_thread_stack_size": "0x10000",
|
||||
"main_thread_stack_size": "0x1000",
|
||||
"main_thread_priority": 22,
|
||||
"default_cpu_id": 3,
|
||||
"process_category": 1,
|
||||
|
|
|
@ -26,7 +26,7 @@ extern "C" {
|
|||
u32 __nx_applet_type = AppletType_None;
|
||||
u32 __nx_fs_num_sessions = 1;
|
||||
|
||||
#define INNER_HEAP_SIZE 0x80000
|
||||
#define INNER_HEAP_SIZE 0x10000
|
||||
size_t nx_inner_heap_size = INNER_HEAP_SIZE;
|
||||
char nx_inner_heap[INNER_HEAP_SIZE];
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@ namespace ams::mitm::btdrv {
|
|||
constexpr size_t MaxSessions = 6;
|
||||
|
||||
os::ThreadType g_btdrv_mitm_thread;
|
||||
alignas(os::ThreadStackAlignment) u8 g_btdrv_mitm_thread_stack[0x4000];
|
||||
alignas(os::ThreadStackAlignment) u8 g_btdrv_mitm_thread_stack[0x2000];
|
||||
constexpr s32 g_btdrv_mitm_thread_priority = 16;
|
||||
|
||||
void BtdrvMitmThreadFunction(void *arg) {
|
||||
|
|
|
@ -35,7 +35,7 @@ namespace ams::mitm::btm {
|
|||
constexpr size_t MaxSessions = 6;
|
||||
|
||||
os::ThreadType g_btm_mitm_thread;
|
||||
alignas(os::ThreadStackAlignment) u8 g_btm_mitm_thread_stack[0x4000];
|
||||
alignas(os::ThreadStackAlignment) u8 g_btm_mitm_thread_stack[0x2000];
|
||||
constexpr s32 g_btm_mitm_thread_priority = 18;
|
||||
|
||||
void BtmMitmThreadFunction(void *arg) {
|
||||
|
|
Loading…
Add table
Reference in a new issue