TuxSH
7b97af473a
Add ability to redirect app core1 threads to core2
...
N3DS-only option. See config.ini for details and context. This should
make very demanding games (those which already use 3x clockrate and L2C
by default, like Pokémon US/UM) between 5 to 15% faster. Not widely
tested, and can potentially break some games and other apps.
2023-01-24 22:05:57 +00:00
TuxSH
571592ca7c
pm: fix handling of "force next app debug" when autobooting homebrew
2023-01-17 00:06:02 +00:00
TuxSH
635235c86c
pm: fix racecond regression introduced by 7074ac1
...
It prevented games such as Mario & Luigi: Bowser's Inside Story from booting.
g_manager.runningApplicationData needs to be accessed through the lock.
2023-01-09 14:22:37 +00:00
TuxSH
a812990f0d
pm: mitigate libctru race condition+kernel bug
...
(when doing dirty hb chainload)
2023-01-08 19:39:38 +00:00
TuxSH
7074ac1166
Move hb:ldr from Rosalina to Loader
...
Let's not pretend in 2022 that it needed things from rosalina sysmodule
- it did not.
This moves 3DSX loading from Rosalina to Loader, and also removes all
the dependencies Loader had to other Luma3DS components (if kernel ext.
is missing, a default config will be used). This means that, as long as
you replace Loader to the one in here, you will be able to properly load
3DSX files.
Changes:
- hb:ldr is now hosted in loader
- hb:ldr LoadProcess, PatchExHeaderInfo, DebugNextApplicationByForce:
all removed
- fix a bug where some malformed 3DSX files were not rejected
- grant access to CONFIG11 registers to 3DSX homebrew
- move dirty homebrew chainload (when HM. isn't loaded nor loadable) to
pm
- pm:dbg (ext.) PrepareToChainloadHomebrew: removed
2022-12-25 23:27:48 +01:00
TuxSH
ea8f9f4667
loader: refactor part around HIO
2022-05-06 19:53:27 +01:00
TuxSH
2fcd2d862d
Add small debug helper for sysmodule reimpls
2020-12-07 20:17:30 +00:00
Michael Scire
94b5113b17
pm: Fix argument truncation to be compatible with 11.14 ABI
2020-11-16 17:10:45 -08:00
TuxSH
362c4ffff1
sysmodules: use libctru configmem defs
2020-07-12 21:26:02 +01:00
TuxSH
4e12453fff
pm: fix critical bugs where 1.0(?) titles not in the list have scheduling mode misconfigured
...
Also fix the comments.
Thanks @fincs
2020-06-26 01:04:12 +01:00
TuxSH
adda19ecb2
so bascially rosalina's image...
...
was in BASE (hardcoded by kernel) while its heaps were in SYSTEM. Fix this; also put the kext where BASE was.
2020-05-18 01:15:44 +01:00
TuxSH
a21eee9207
rosalina/pm: remove fs patch, use pm instead
2020-05-15 22:15:55 +01:00
TuxSH
d3e62df769
rosalina: implement dirty hb chainload
2020-05-10 02:58:21 +01:00
TuxSH
814792eb91
pm: fix handling of PMLAUNCHFLAG_FORCE_USE_O3DS_MAX_APP_MEM
2020-05-09 01:37:09 +01:00
TuxSH
09fd199487
rosalina: Dynamically alloc/free fb cache, exempt rosalina from reslimiting
2020-05-08 01:17:46 +01:00
TuxSH
fdc1eaa16c
pm: quick safe_firm fixes
2020-05-02 18:08:24 +01:00
TuxSH
c8aa2e8a89
change notification 0x1001=>0x2000
2020-03-28 10:58:36 +00:00
TuxSH
44cd3928fb
rosalina & pm: properly shutdown when debugger, input redir (but not both) and force connection are enabled
2020-04-28 01:31:29 +01:00
TuxSH
ced78cb072
use -wrap for exit
2020-04-27 01:07:57 +01:00
TuxSH
f334e3b951
loader/pm: move "force init SD" code to pm. Greatly reduces the number of Arm9 svcBreak with 0xC8804465
2020-04-27 00:47:16 +01:00
TuxSH
9d62995799
rosalina: make the task runner thread actually exit
2020-04-26 21:37:18 +01:00
TuxSH
33431cb939
pm/kext: make pm terminate Rosalina, removing the need for a dodgy kext hook
2020-04-26 20:33:24 +01:00
TuxSH
eb37ac4142
redefine exit methods for sysmodules. Partially fixes the shutdown issue
2020-04-26 01:50:47 +01:00
TuxSH
31891efbca
Current year is 2020
2020-04-25 13:42:10 +01:00
TuxSH
c9a578734e
Fix N3DS applications not closing properly ( fix #1271 , #1270 , etc.)
2019-06-30 22:59:44 +02:00
TuxSH
8c03702c7d
pm: fix uninitialized variable bug (thanks @fincs !)
2019-06-28 20:43:06 +02:00
TuxSH
d989c45c3d
Failed attempt w/ next app
2019-06-14 01:32:50 +02:00
TuxSH
0b33134f6c
Loader services refactor
2019-04-18 19:48:01 +02:00
TuxSH
54de645dc3
pm: fix inverted condition
2019-04-17 02:03:02 +02:00
TuxSH
da6c02068b
pm: fix reslimit bug
2019-04-17 01:31:03 +02:00
TuxSH
c688600d33
PMDBG_GetCurrentAppTitleId => PMDBG_GetCurrentAppTitleIdAndPid
2019-03-31 16:12:31 +02:00
TuxSH
22ec031495
Add client code for new custom pm commands, use them, fix pm race conditions
2019-03-30 18:12:54 +01:00
TuxSH
43b998d37d
Add new pmdbg commands: GetCurrentAppTitleId, DebugNextApplicationByForce, LaunchTitleDebug
2019-03-30 15:36:49 +01:00
TuxSH
127101a683
Fix debug bug
2019-03-30 15:05:49 +01:00
TuxSH
5955ca6957
Increase max number of sessions for pmdbg
2019-03-30 14:15:23 +01:00
TuxSH
dcddcfc94d
Allow PMLAUNCHFLAG_QUEUE_DEBUG_APPLICATION for non-apps
2019-03-29 23:22:16 +01:00
TuxSH
1453d9adac
cubic ninja users rejoice
2019-03-29 23:01:55 +01:00
TuxSH
ef034a87d4
revert fsldr change, fix null deref in pm
2019-03-29 22:40:54 +01:00
TuxSH
e688ec9257
move patches to pm
2019-03-29 19:07:24 +01:00
TuxSH
1041d7c438
Add custom pm sysmodule
2019-03-29 00:32:45 +01:00