Commit Graph

26 Commits

Author SHA1 Message Date
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
yellows8
96af83a70e Added support for exceptions. 2018-11-14 21:31:45 -05:00
SciresM
2d7e01f938 Fix crash when taking over some games on 5.0.0+ (#10)
* HBL: Fix crash when taking over some games on 5.0.0+ where the title supports automatic video-recording via the nacp.
2018-10-31 17:54:59 -04:00
roblabla
bde505a0bf Use new npdm-json format 2018-10-30 21:36:24 -04:00
fincs
8ab9e6d8da Added support for RandomSeed homebrew ABI key 2018-10-17 17:17:33 +02:00
yellows8
aedf312fa0 Automatically determine which AppletType/AppletFlags to use by checking pmshellGetApplicationPid output. 2018-10-04 18:46:20 -04:00
fincs
6826b064e9 Copy license from libnx (fix #1) 2018-08-06 21:39:26 +02:00
fincs
c12d1ce634 Remove access to core3 since it causes stability problems when used together with preemptive multithreading & load balancing 2018-08-06 21:39:00 +02:00
Rajko Stojadinovic
6a5013f656 Allow homebrew to use debug svcs (#3)
* Add debug/process inspection svcs to the npdm (the non-writing ones are useful even without debug mode enabled)

* Update the available svcs hint to match npdm
2018-07-30 17:51:20 -04:00
fincs
d6e56d487f Build NPDM from JSON configuration file (with enhancements), see details:
- Granted access to all FS permissions.
- Granted user/host access to all services.
- Kernel caps application type set to applet (2) in order to allow
  nx-hbloader to run while official apps are suspended.
  This fixes fatal error 2144-0001 during nx-hbloader startup.
  **CAVEAT**: This reduces maximum heap size to around 500MB. For this
  reason this change may be *reverted* or worked around in the future.
- Revise handle-duplication workaround to allow official apps to run
  after having used and closed nx-hbloader.
2018-05-09 18:18:18 +02:00
fincs
cb5d9a919c Add .gitignore 2018-05-03 00:33:11 +02:00
fincs
de49c86f27 Adapt hbl sources to compile with latest tools 2018-05-03 00:32:21 +02:00
plutooo
b9aa673624 Public release 2018-04-24 00:10:50 +02:00