Commit Graph

62 Commits

Author SHA1 Message Date
Dave Murphy
8f5a425e6e
set debug flags properly 2024-10-23 16:39:22 +01:00
Dave Murphy
5ac0dfe82d
add force_debug_prod flag 2024-10-18 21:52:21 +01:00
borntohonk
cd6a723acb
Update NORETURN to NX_NORETURN for libnx 4.6.0+ (#38) 2024-01-30 09:57:59 +00:00
yellows8
b38421d04a
v2.4.4 2023-10-27 19:05:45 -04:00
fincs
f6c46269ef
Fix #37: regressions introduced by missed HBABI entry index updates 2022-10-16 00:06:07 +02:00
fincs
b1406d9eaa
Grant access to all SVCs (including the extended range) 2022-10-15 21:09:11 +02:00
fincs
7aefc7a312
v2.4.1 2021-04-11 12:42:08 +02:00
fincs
e7ff5cba3b
Detect Atmosphère, and pass it down through HBABI 2021-04-11 12:24:09 +02:00
fincs
56868b4325
v2.4.0 2020-12-19 17:41:07 +01:00
SciresM
723c09d7ab
hbl: grant read access to ktrace buffer (#36)
Also grant access to svcQueryIoMapping & hint it as available
2020-12-17 01:56:29 +01:00
fincs
e2b8f0c5b3
Minor cleanup/refactoring, memory usage optimization & UB removal 2020-12-08 14:40:21 +01:00
fincs
81553d91fd
Update npdm with name for new svc (0x37 svcGetResourceLimitPeakValue) 2020-12-01 13:53:11 +01:00
fincs
06b2d3bdfd
Use virtmemFindCodeMemory instead of virtmemFindAslr 2020-10-30 00:16:39 +01:00
fincs
e528d15d5a
Improve CodeMemory capability detection 2020-10-29 16:53:37 +01:00
fincs
18019db14a
Replace fatalThrow with diagAbortWithResult 2020-10-29 14:16:11 +01:00
fincs
c69c6a9e0d
Add debugger svcBreak pre/post NRO load/unload hooks 2020-10-29 14:16:11 +01:00
fincs
5ce1d33b7d
Use new virtmem API for NRO ASLR 2020-10-29 14:16:10 +01:00
fincs
a13d5e7af2
Remove workaround for very old homebrew (which is unusable anyway) 2020-10-29 14:16:10 +01:00
fincs
0ce48ebe22
Revoke access to CodeMemory syscalls if they are not usable 2020-10-29 14:16:10 +01:00
Michael Scire
7caa177353 support automatic recording games on 4.0.0-4.1.0 2020-09-22 23:49:57 +02:00
fincs
946ac4ede6
Bump version for release 2020-07-09 02:49:58 +02:00
Michael Scire
4d63750a44 hbl: update json for new format 2020-07-09 02:46:41 +02:00
fincs
bc48603694
Bump version for release 2020-06-15 23:55:19 +02:00
HookedBehemoth
faec3c5098
add permission to mount qlaunch romfs (#29) 2020-06-15 23:51:52 +02:00
fincs
2288c06401
Bump version for release 2020-05-12 00:03:21 +02:00
borntohonk
721fa9b525 Update nacp reference to reflect on libnx changes in libnx commit 20fd5bb9a21cd0c8bcea0cc7cc84640f8de714e6 2020-04-26 16:53:33 +02:00
fincs
19f1afbbf3
v2.3.1 2020-04-14 22:21:56 +02:00
masagrator
d9cb20c248
Add svcGetSystemInfo and update json to match libnx 3.1.0 svc.h (#26)
Also adds svcGetSystemInfo to SyscallAvailableHint
2020-04-12 01:49:30 +02:00
yellows8
24487fc496
Use InfoType_IsApplication to set g_isApplication when available. Updated for latest libnx. 2020-03-11 22:43:58 -04:00
fincs
5d276d1da7
v2.3.0 2019-12-11 00:59:08 +01:00
fincs
7b085d86f4
Update for latest libnx changes (again) 2019-12-11 00:58:46 +01:00
octopuserectus
9b2a16c731 Reflect latest libnx changes 2019-11-27 19:33:53 +01:00
fincs
0d526f9aaa
fatalSimple -> fatalThrow 2019-10-25 00:02:36 +02:00
yellows8
4cd81dcc31
Updated pmshell code for latest libnx. 2019-10-24 16:52:26 -04:00
fincs
2ddb129338
Code size improvements & memory usage shrunk down:
- fsdev current-working-directory support disabled (saves memory)
- Heap shrunk down from 128kb to 16kb
- SDMC mounted during NRO loading and unmounted afterwards
- POSIX file i/o functions used instead of stdio (one less layer of abstraction)
- Default NRO path is now a define for easy maintenance
2019-10-21 21:50:42 +02:00
fincs
3510f74c77
Update for latest libnx (including new-ipc) 2019-10-20 03:18:51 +02:00
yellows8
b33c5df54b
Updated readSetting to handle the out_size param from setsysGetSettingsItemValue with latest libnx. The buffer is now cleared on failure. 2019-10-04 18:34:51 -04:00
yellows8
92a14f706e
Updated nacp code for latest libnx. 2019-08-21 23:10:31 -04:00
fincs
ededd72fbf Use 2MB alignment instead of page alignment in heap size calculations 2019-07-29 21:35:06 +02:00
fincs
3364cc0e74 Use git describe in version string 2019-07-29 21:31:31 +02:00
fincs
2a0d4a7713 Add support for UserIdStorage & HosVersion homebrew ABI keys 2019-07-29 21:17:48 +02:00
fincs
7c1eb6235f Add version notice text 2019-07-29 18:12:18 +02:00
fincs
7f8fb00864 Add applet heap size configuration support, example usage is as follows:
[hbloader]
; Controls the size of the homebrew heap when running as applet.
; If set to zero, all available applet memory is used as heap.
; The default is zero.
applet_heap_size = u64!0x0
; Controls the amount of memory to reserve when running as applet
; for usage by other applets. This setting has no effect if
; applet_heap_size is non-zero. The default is zero.
applet_heap_reservation_size = u64!0x8000000
2019-07-29 18:12:00 +02:00
fincs
00942640a5 nroEntrypointTrampoline: Fix g_lastRet write size access bug 2019-07-29 17:11:38 +02:00
fincs
104e0fb0b3 Stub out unused exit logic, close SM handle once we don't need it anymore 2019-07-29 15:12:38 +02:00
fincs
549adde3ca Use svcGetInfo type enum and hosversionAtLeast 2019-07-29 15:09:33 +02:00
fincs
b45f3162a8 getOwnProcessHandle: use svcCreateSession directly instead of going through SM; replace MODULE_HBL with Module_HomebrewLoader 2019-07-29 14:42:37 +02:00
fincs
3af8c89024 Update for latest libnx 2019-03-26 14:03:41 +01:00
SciresM
8717f990ab Grant access to svcCallSecureMonitor 2019-01-24 17:46:29 +01:00
fincs
0556fbbd99 Only apply SM close bug workaround to very old apps (use absence of MOD0 as heuristic) 2018-12-06 02:18:50 +01:00