xbzk
78a1cd0533
[hle] support passing arguments to homebrew applications ( #4013 )
...
Homebrew (.NRO) program args support
Adds a 'program_args' setting and delivers it to NRO homebrews via libnx's homebrew ABI. NROs previously had no way to receive CLI flags (e.g. NZ:P's -noglsl).
Setting: program_args, Category::System, startup-only.
Surfaced in Qt + Android Debug sections.
NRO loader: builds a 4-entry 'ConfigEntry' table + argv at the data segment tail; prepends 'homebrew ' so user args land at argv[1]; scans for 'svc #7 ' to use as LR. Drops the stale NSO-style argdata append.
KProcess: stores loader-provided guest addresses; 'Run' switches to the homebrew entry (x0=config_ptr, x1=-1, lr=svc7) and patches the real MainThreadHandle into the ConfigEntry slot. Legacy NSO path unchanged.
Tested on NZP — args reach 'argv' correctly.
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4013
Reviewed-by: Lizzie <lizzie@eden-emu.dev >
Reviewed-by: MaranBr <maranbr@eden-emu.dev >
2026-06-15 03:02:33 +02:00
..
2022-04-23 05:55:32 -04:00
2026-03-31 20:12:41 +02:00
2023-10-20 02:34:15 -04:00
2026-06-12 23:48:24 +02:00
2022-04-23 05:55:32 -04:00
2026-02-28 01:06:33 +01:00
2025-12-31 17:31:12 +01:00
2025-12-31 17:31:12 +01:00
2023-10-20 02:34:15 -04:00
2023-12-22 21:52:49 -05:00
2023-03-22 09:35:16 -04:00
2023-11-25 00:47:36 -05:00
2023-03-07 20:05:19 -05:00
2023-03-12 22:06:53 -04:00
2023-12-23 16:26:07 -05:00
2023-12-23 16:26:07 -05:00
2025-11-16 22:15:09 +01:00
2025-11-16 22:15:09 +01:00
2026-05-19 23:35:53 +02:00
2023-11-10 12:01:35 -05:00
2022-11-05 12:23:47 -04:00
2022-11-03 21:17:07 -07:00
2023-12-22 21:52:49 -05:00
2023-12-07 09:13:43 -05:00
2024-02-19 16:00:46 +01:00
2023-12-06 17:33:00 -05:00
2023-07-14 21:43:15 -04:00
2023-03-22 09:35:16 -04:00
2025-11-16 22:15:09 +01:00
2023-10-21 20:03:41 -04:00
2023-03-12 22:09:09 -04:00
2023-11-10 12:01:35 -05:00
2023-11-10 12:01:35 -05:00
2025-09-21 21:58:59 +02:00
2022-11-03 21:17:06 -07:00
2023-03-22 09:35:16 -04:00
2023-04-29 22:11:32 -04:00
2023-03-12 22:09:09 -04:00
2023-03-12 22:09:09 -04:00
2025-11-16 22:15:09 +01:00
2025-11-16 22:15:09 +01:00
2022-12-18 16:37:19 -05:00
2025-09-21 21:58:59 +02:00
2025-09-21 21:58:59 +02:00
2023-10-21 20:03:41 -04:00
2022-10-18 19:13:34 -07:00
2023-12-07 09:13:43 -05:00
2023-12-07 09:13:43 -05:00
2023-03-12 22:06:53 -04:00
2023-03-12 22:06:53 -04:00
2023-03-12 22:06:53 -04:00
2023-03-12 22:06:53 -04:00
2025-09-21 21:58:59 +02:00
2025-09-21 21:58:59 +02:00
2023-12-07 09:13:43 -05:00
2023-12-07 09:13:43 -05:00
2024-01-12 19:19:07 -05:00
2024-01-12 19:19:07 -05:00
2025-09-21 21:58:59 +02:00
2025-09-21 21:58:59 +02:00
2025-05-19 21:28:16 +00:00
2025-09-21 21:58:59 +02:00
2025-09-21 21:58:59 +02:00
2023-10-20 02:34:15 -04:00
2025-09-21 21:58:59 +02:00
2023-02-17 09:16:05 -05:00
2023-04-29 22:11:32 -04:00
2026-03-31 20:12:41 +02:00
2023-03-22 09:35:16 -04:00
2023-03-22 09:35:16 -04:00
2023-01-07 15:32:10 -08:00
2023-10-20 02:34:15 -04:00
2023-03-22 09:35:16 -04:00
2025-09-21 21:58:59 +02:00
2026-05-05 01:29:46 +02:00
2026-05-05 01:29:46 +02:00
2023-03-22 09:35:16 -04:00
2023-03-22 09:35:16 -04:00
2023-11-10 12:01:35 -05:00
2023-12-07 09:13:43 -05:00
2023-12-07 09:13:43 -05:00
2025-11-07 17:03:01 +01:00
2026-05-05 01:29:46 +02:00
2026-06-15 03:02:33 +02:00
2026-06-15 03:02:33 +02:00
2023-03-12 22:09:09 -04:00
2023-03-12 22:09:09 -04:00
2025-09-21 21:58:59 +02:00
2023-08-14 18:12:06 -04:00
2023-03-12 22:06:53 -04:00
2026-03-12 18:29:15 +01:00
2023-03-12 22:09:09 -04:00
2023-03-12 22:06:53 -04:00
2023-03-12 22:06:53 -04:00
2023-08-14 18:12:06 -04:00
2023-12-07 09:13:43 -05:00
2023-12-07 09:13:43 -05:00
2026-03-12 18:29:15 +01:00
2023-12-22 21:52:49 -05:00
2023-03-22 09:35:16 -04:00
2023-04-29 22:11:32 -04:00
2023-12-22 21:52:49 -05:00
2023-12-06 17:33:00 -05:00
2023-04-29 22:11:32 -04:00
2023-07-14 21:43:15 -04:00
2023-03-22 09:35:16 -04:00
2025-09-21 21:58:59 +02:00
2023-03-12 22:06:53 -04:00
2023-03-12 22:06:53 -04:00
2023-06-22 08:05:10 +01:00
2023-03-12 22:06:53 -04:00
2022-04-23 05:55:32 -04:00
2023-11-10 12:01:35 -05:00
2023-03-22 09:35:16 -04:00
2024-02-19 16:00:46 +01:00
2025-09-24 19:29:48 +02:00
2023-03-12 22:06:53 -04:00
2023-03-12 22:09:09 -04:00
2026-05-05 01:29:46 +02:00
2025-11-16 22:15:09 +01:00
2022-12-18 16:37:19 -05:00
2022-04-23 05:55:32 -04:00
2024-02-19 16:00:46 +01:00
2023-12-23 16:26:07 -05:00
2026-05-26 06:37:59 +02:00
2023-03-12 22:09:09 -04:00
2023-03-12 22:09:09 -04:00
2023-03-12 22:09:09 -04:00
2026-05-09 05:48:20 +02:00
2026-02-10 03:34:07 +01:00
2023-03-22 09:35:16 -04:00
2023-12-22 21:52:49 -05:00
2026-04-27 03:39:34 +02:00
2023-12-04 10:37:16 -05:00
2023-03-12 22:09:09 -04:00
2022-10-18 19:13:34 -07:00
2023-12-22 21:52:49 -05:00
2025-08-21 21:08:43 +02:00
2026-05-05 01:29:46 +02:00
2025-12-04 07:31:30 +01:00
2025-11-07 17:00:53 +01:00