Skip to content

Commit

Permalink
Fix building for latest libnx
Browse files Browse the repository at this point in the history
  • Loading branch information
cathery committed Nov 6, 2024
1 parent e969376 commit ce7c85f
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 deletions.
2 changes: 0 additions & 2 deletions source/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,6 @@ void __appInit(void)
setsysExit();

static const SocketInitConfig socketInitConfig = {
.bsdsockets_version = 1,

.tcp_tx_buf_size = 0x800,
.tcp_rx_buf_size = 0x800,
.tcp_tx_buf_max_size = 0x25000,
Expand Down
2 changes: 1 addition & 1 deletion source/util.c
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ Result pauseInit()

inputThreadRunning = true;

rc = threadCreate(&pauseThread, inputPoller, NULL, NULL, 0x300, 0x3B, -2);
rc = threadCreate(&pauseThread, inputPoller, NULL, NULL, 0x1000, 0x3B, -2);
if (R_FAILED(rc))
goto exit;

Expand Down
16 changes: 12 additions & 4 deletions sys-ftpd.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,23 @@
{
"name": "sys-ftpd",
"title_id": "0x420000000000000E",
"title_id_range_min": "0x420000000000000E",
"title_id_range_max": "0x420000000000000E",
"version": "1.0.5",
"program_id": "0x420000000000000E",
"program_id_range_min": "0x420000000000000E",
"program_id_range_max": "0x420000000000000E",
"main_thread_stack_size": "0x00004000",
"main_thread_priority": 49,
"default_cpu_id": 3,
"process_category": 0,
"is_retail": true,
"pool_partition": 2,
"is_64_bit": true,
"signature_key_generation": 0,
"address_space_type": 3,
"optimize_memory_allocation": false,
"disable_device_address_space_merge": true,
"enable_alias_region_extra_size": false,
"prevent_code_reads": false,
"system_resource_size": "0",
"filesystem_access": {
"permissions": "0xffffffffffffffff"
},
Expand Down Expand Up @@ -166,7 +173,8 @@
"type": "debug_flags",
"value": {
"allow_debug": false,
"force_debug": true
"force_debug": true,
"force_debug_prod": false
}
}]
}

0 comments on commit ce7c85f

Please sign in to comment.