504 Commits

Author SHA1 Message Date
TuxSH
684c95c7e8 rosalina: in volume override menu, add support for CPAD too 2024-10-01 23:31:22 +02:00
TuxSH
e96f2efc7e rosalina: add bottom screen color curve that was thought to be incorrect
Use separate toggle in the same submenu as top screen
2024-10-01 01:52:14 +02:00
PabloMK7
3253fdb255
Allow plugins to use PRIVATE memory instead of SHARED on requests (#2086)
- Modify the svcMapProcessMemoryEx svc so that it takes an extra flags argument. This change was made in a way that shouldn't break existing plugins or applications.
- Add MAPEXFLAGS_PRIVATE flag, which maps the specified memory as PRIVATE instead of SHARED.
- Allow plugins to be mapped with PRIVATE memory instead of SHARED with a flag in the .3gx header. This allows plugins to use socket and http services without additional hacks.

---------

Co-authored-by: LittleCube <littlecubehax@gmail.com>
2024-09-27 22:31:03 +02:00
PabloMK7
e0e86c46a7 rosalina: Add debug flag to dump gdb communications 2024-09-27 22:18:34 +02:00
TuxSH
902f306ab3 rosalina: remove unused lut, add attribution 2024-09-27 22:01:29 +02:00
TuxSH
ef1773ef4a rosalina: add ability to menu to take screenshot of itself (default combo: L+Up+Select)
Only for documentation purposes, via compile-time flag.

And fix some resource leak bugs, etc.
2024-09-23 00:35:22 +02:00
R-YaTian
7e4a106787
rosalina: Improve misc NTP menu drawing (#2075) 2024-09-22 01:36:19 +02:00
TuxSH
2ae3c4d4ce rosalina: fix handling of more than 1 hidden option in a row
Reported by @cooolgamer
2024-09-22 01:20:53 +02:00
TuxSH
946eb94f02 rosalina: clean up code in N3DSMenu_UpdateStatus 2024-09-22 00:59:57 +02:00
TuxSH
0a11d29d8b rosalina: move power off/reboot back, in a single menu entry this time 2024-09-18 22:36:04 +02:00
TuxSH
1c737d499f rosalina: add qtm calibration submenu
Also steal qtm handle b/c of limitiations (max 3 sessions total)
2024-09-15 23:44:44 +02:00
TuxSH
2aa2013318 rosalina: add SS3D toggle option
Closes #2062
2024-09-15 23:44:36 +02:00
TuxSH
a7bd3208a5 Declutter main rosalina menu & reorder
"Change screen brightness" (due to limitations), "Power Off", "Reboot" moved to sysconfig menu
2024-09-09 00:44:48 +02:00
TuxSH
14e462be20 Clarify that the color curve fixing is intended for IPS top screen only (with stellar results)
And that bottom screen curve doesn't actually match (I don't have bottom IPS New 3DSes but I have asked people who do).
2024-09-03 20:33:21 +02:00
fangrong
9f933954a0 rosalina: fix wrong args in svcControlMemoryEx 2024-08-24 19:48:09 +02:00
TuxSH
ab7e8676b5 rosalina: fix regression in menuReadScreenTypes 2024-08-18 20:42:31 +02:00
TuxSH
f0be624792 rosalina: add system info menu with TN/IPS screen detection in it 2024-08-14 22:48:33 +02:00
TuxSH
85c1997f2b rosalina: use correct srgb filter order 2024-08-04 23:14:29 +02:00
TuxSH
2c49a04516 rosalina: add battery info in debug info 2024-08-02 17:22:53 +02:00
TuxSH
db4564a3f5 rosalina: implement full color space correction (to sRGB)
Add option to make the 3DS screens look like sRGB monitors. While this
is not perfect (due to screen variance, and it may make dark tones
slightly darker), this significantly improves the color fidelity of
homebrew and custon HOME Menu themes, removing that "blueish, washed-out
look".

Do note that first-party party 3DS games are designed around the 3DS's
"washed-out" color curve, and may not need that adjustment.

(done in collaboration with @profi200)
2024-07-31 23:22:48 +02:00
TuxSH
988ec17ebf Screenshots: when dealing with 800px mode, produce 800x480 instead of 800x240 images for more faithful output
Each line is duplicated in this case (integer scaling 2)
2024-06-22 01:22:22 +02:00
TuxSH
1c7a2b6135 Remove debug #if 0 that was accidentally left in 2024-06-13 19:37:22 +02:00
TuxSH
725823a9d9 loadTitleLocaleConfig: add Bermuda ("BM") 2024-06-08 19:47:58 +02:00
TuxSH
6c324e0ed0 Force wifi menu: handle unconfigured wifi slots correctly 2024-05-11 17:38:16 +02:00
PabloMK7
45dce14f23
rosalina: fix wireless connection option replacing volume override (#2028) 2024-05-09 21:57:49 +02:00
PabloMK7
2df3c389c1
plugin loader: add persistent plugin user load parameters (#2027) 2024-05-09 21:52:49 +02:00
PabloMK7
175e184089
plugin loader: allow loading user defined plugin for any title (#2026) 2024-05-09 19:59:03 +02:00
TuxSH
df1f9dbfc2 Update RosalinaMenu_ShowCredits (we are in 2024) 2024-05-01 23:49:33 +02:00
TuxSH
64293f8942 Config changes and fixes, see description
- Remove allow_updown_leftright_dsi (option was unused and useless)
- Hide enable_dsi_external_filter. Do not mention out-of-date wiki,
  fixes #1992
- Limit gamma to a more reasonable value of 8, fixes #1989
2024-05-01 17:58:15 +02:00
PabloMK7
5928eefe95
plugin_loader: Add new flags to 3gx files (#2021) 2024-05-01 00:31:23 +02:00
Anonymous941
63fbc37426 Fix graphical glitches in volume adjustment menu
Due to the waitInputWithTimeout call taking up to 1 second, the framebuffer must be flushed. Also added padding where it was needed
2024-04-30 23:30:48 +02:00
PabloMK7
85e0257289 loader: Add custom LOADER_GetLastApplicationProgramInfo command 2024-04-26 22:39:51 +02:00
PabloMK7
36df6d6a98 Bump version number 2024-02-07 01:07:37 +01:00
PabloMK7
bef642c04f Add volume slider override 2024-02-06 23:53:28 +01:00
CyberYoshi64
a3c5746e06
Add more mountpoint names for LayeredFS updates (#1994)
* Add more mountpoint names for LayeredFS updates

* Move `pat1` to the bottom of the list

* Isolate Mario Kart 7 mountpoint

* Apply suggestions from code review

Co-authored-by: PabloMK7 <hackyglitch2@gmail.com>

---------

Co-authored-by: PabloMK7 <hackyglitch2@gmail.com>
2024-02-02 14:42:57 +01:00
PabloMK7
e2778a45cf Fix macro change in libctru 2023-10-31 18:38:40 +01:00
TuxSH
3b64e25402 rosalina: display SSID in force-wifi-connection menu 2023-09-16 21:30:23 +02:00
TuxSH
035c50c625 Fix support for all older versions
- Move emuNAND hook to ITCM, fixing previously untested emuNAND support
  for 5.0 (and possibly more versions). This was a very long-standing
  bug
- Fix booting on versions 4.x to 8.x, and restore full support for 5.x
  to 8.x. All Arm11 custom sysmodules and k11ext have been disabled on
  4.x because the Luma3DS v13.0 changes couldn't be ported (this means
  no Rosalina and no region-free and such, and while I could restore
  some of the functionality, you should just update *after* installing
  Luma, like you've been instructed to)
2023-08-12 18:00:08 +02:00
TuxSH
5989d9d61d hbldr: fix DSPmem cacheability attrib regression 2023-08-10 16:41:40 +02:00
TuxSH
41eccacd51 hbldr: fix DSPmem mapping and give access to all Arm11 IO regs 2023-08-09 23:52:16 +02:00
PabloMK7
dd22a0cd93 Fix plugin home menu event notification. 2023-07-24 15:53:08 +02:00
TuxSH
a03988b05d Fix rare race condition issue causing white screens 2023-07-18 00:47:57 +02:00
TuxSH
41edcde5c0 Add enable_dsi_external_filter and allow_updown_leftright_dsi 2023-07-17 01:11:43 +02:00
PabloMK7
c055fb6f5e
Merge 3GX plugin loader fork (#1916)
This commit adds all the changes made to the 3GX plugin loader fork of Luma3DS. The most important features are:

- Add 3GX plugin loader support. New service added to rosalina: plg:ldr
- Add svcControlProcess, svcControlMemoryUnsafe and improve svcMapProcessMemoryEx (breaking change)
- Allow applications to override certain configurations depending on their needs:
    - Disable core2 thread redirection
    - Disable game patching for the next app
    - Force New 3DS speedup
    - Force next application in a specific memory mode
    - Block the opening of the Rosalina menu
- Add GDB commands to list all process handles and catch all SVC (latter is for IDA Pro as gdb client supports it)
- Other changes necessary for plugins to work properly. Please check changed files in this PR for more details. 

---------

Co-authored-by: PabloMK7 <hackyglitch@gmail.com>
Co-authored-by: Nanquitas <nath.doidi@gmail.com>
Co-authored-by: TuxSH <1922548+TuxSH@users.noreply.github.com>
2023-07-14 20:08:07 +02:00
TuxSH
9fa1d42aa8 Loader: make it simpler to load ext. modules by clearing N3DS bit
And also move the location of IPS/BPS patches for (non-KIP) sysmodules
to /luma/sysmodules/<titleId>.<ips/bps> and only require "Load ext
firm/modules" option for it.
2023-07-09 22:00:51 +02:00
TuxSH
5b417189db Remove "Use EmuNAND FIRM with R" option
This is a leftover from the Gateway era that has long lost its utility
and that unnecessarily complicated the code base.

Please just load an external FIRM from SD card if you need something
similar.

Also refactor the multi-EmuNAND code and CTRNAND mounting code.
2023-07-09 00:28:17 +02:00
TuxSH
82d689b485 Fix build issues
Closes #1894
2023-06-16 21:28:08 +02:00
TuxSH
3e6399490c Hide "force audio output" option 2023-03-28 00:40:30 +02:00
TuxSH
985380c0d8 loader: break when failing to load process (e.g. missing boot.3dsx) 2023-03-27 21:49:00 +02:00
TuxSH
dc7edbd44f Fix handling negative screen filters values 2023-03-27 21:35:51 +02:00