Commit Graph

1348 Commits

Author SHA1 Message Date
fincs
dedd29b431
sm: Remove smHasInitialized (use Initialize+GetService+Exit instead) 2019-09-19 23:47:37 +02:00
fincs
43ad77e8d2
nv: Use new IPC interface 2019-09-19 13:23:16 +02:00
fincs
20b26296af
Replace serviceClone with serviceCloneEx 2019-09-19 13:21:21 +02:00
fincs
99c325ed5b
Further cleanup in SM code; smEncodeName is now constexpr 2019-09-19 12:56:21 +02:00
fincs
51db782e7a
fatal: Use new IPC interface 2019-09-19 04:23:00 +02:00
fincs
6ad0042147
Introduce new IPC interface wrapper code, see details:
- Service object moved away from sm.h and into its own file (sf/service.h)
- Service object completely redesigned, but a (mostly)
  backwards compatible API was kept
- New low level HIPC request/response code
- New CMIF client-oriented code
- New service IPC dispatch functions
- Pointer buffer size automatically retrieved for all sessions
- Removed previous manual pointer buffer size query code
- SM rewritten with new IPC code
- All other services are still pending IPC rewrite
2019-09-19 03:50:28 +02:00
fincs
0a3592d4dd
Deprecate current IPC interface 2019-09-19 02:58:12 +02:00
fincs
02b5d3b474
Introduce NX_INLINE and NX_CONSTEXPR 2019-09-19 02:46:13 +02:00
yellows8
f4fe3376bd
Fixed the names for nsdevLaunchApplication, nsdevLaunchApplicationWithStorageId, nsdevGetRunningApplicationProcessId, and nsdevSetCurrentApplicationRightsEnvironmentCanBeActive. Updated the sysver checks for nsdevIsSystemMemoryResourceLimitBoosted since it was removed with [9.0.0+]. 2019-09-17 13:19:29 -04:00
yellows8
87332e2685
Added SetLanguage_ZHHANS/SetLanguage_ZHHANT. Added SetRegion_CHN, SetRegion_KOR, and SetRegion_TWN. 2019-09-15 23:39:42 -04:00
yellows8
ceab0a693c
Updated docs. 2019-09-14 22:55:25 -04:00
yellows8
b1317d3ff8
Added ts. 2019-09-14 20:46:37 -04:00
yellows8
fa25df27d0
Added support for friendsLa. Added friends.h. 2019-09-14 19:26:07 -04:00
fincs
3d682b6748
Release v2.5.0 2019-09-14 19:23:09 +02:00
yellows8
4ce9c0b038
Updated hdls to support [9.0.0+]. Added hiddbgGetUniquePadDeviceTypeSetInternal. Actually load the output rc from resp in AbstractedPad/VirtualPad funcs. 2019-09-14 11:13:56 -04:00
yellows8
042c756d72
Added HidDeviceTypeBits and HidDeviceType. Updated docs. 2019-09-14 11:05:16 -04:00
fincs
c10e70df3a
Fix typo 2019-09-13 13:16:54 +02:00
SciresM
c55383c973 lr: fix 9.x RedirectApplication* commands (#326)
* lr: fix 9.x RedirectApplication* commands

* lr: correct LegalInformation->ApplicationLegalInformation
2019-09-13 12:34:21 +02:00
yellows8
9d632b856d
Added HidNpadInterfaceType enum. 2019-09-13 02:47:53 -04:00
yellows8
326619c271
Added hidGetNpadInterfaceType. 2019-09-13 00:05:43 -04:00
yellows8
81781f0782
Use hidControllerIDToOfficial for the input id, with hidSetNpadJoyAssignmentModeSingleByDefault, hidSetNpadJoyAssignmentModeDual, and hidMergeSingleJoyAsDualJoy. 2019-09-12 23:28:07 -04:00
Michael Scire
1a676a68f5 hid: set SYSTEM/SYSTEM_EXT as supported styles.
Starting in 9.0.0, HID shared memory no longer populates
the SystemExt controller (which libnx calls LAYOUT_DEFAULT) unless
it is explicitly set as supported. This changes hidInitialize() to
set it and System as supported.
2019-09-12 12:48:27 +02:00
yellows8
b06a6ff29f
Updated sysver checks for the AbstractedPad cmds which were removed in [9.0.0+]. 2019-09-11 16:36:08 -04:00
yellows8
b89191c435
Added support for launching the Album applet via albumLa. 2019-09-09 11:10:33 -04:00
yellows8
76e86a9a80
Updated the AlbumReportOption enum. 2019-09-08 20:11:56 -04:00
yellows8
297f84c912
Updated docs. 2019-09-08 19:23:29 -04:00
yellows8
b7311b6ab1
Added support for capsu. Updated caps.h. Improved docs. Added enum CapsContentType. Added structs CapsScreenShotAttributeForApplication, CapsScreenShotDecodeOption, CapsApplicationAlbumFileEntry, and CapsLoadAlbumScreenShotImageOutputForApplication. Added capsGetDefaultStartDateTime, capsGetDefaultEndDateTime, capsConvertApplicationAlbumFileEntryToApplicationAlbumEntry, and capsConvertApplicationAlbumEntryToApplicationAlbumFileEntry. 2019-09-08 19:20:17 -04:00
yellows8
7d71d4f3a1
Use BufferType_Type1 in _capssuSaveScreenShotEx0, instead of a constant. 2019-09-02 16:46:21 -04:00
friedkeenan
fdb1605fc5 Require whole mount name to match when finding a romfs (#324) 2019-09-02 21:22:49 +02:00
yellows8
4f74aa1ad1
Updated docs for OffscreenRecordingParameter. Updated param names for grcMovieMakerFinish. 2019-08-31 19:07:11 -04:00
yellows8
7d08c7cc7c
Updated CapsAlbumFileDateTime. Updated docs. 2019-08-31 11:53:15 -04:00
yellows8
eeabd3bed0
Added capssuSaveScreenShotWithUserData, capssuSaveScreenShotWithUserIds, capssuSaveScreenShotEx1, and capssuSaveScreenShotEx2. Updated params for capssuSaveScreenShot and capssuSaveScreenShotEx0. Added enum AlbumReportOption, and structs CapsApplicationData/CapsUserIdList. Updated CapsScreenShotAttribute. Updated docs. 2019-08-30 23:17:58 -04:00
yellows8
5dc2fc0b7e
Removed AlbumFileEntry and reverted grcMovieMakerFinish back to using CapsApplicationAlbumEntry, since AlbumFileEntry is a duplicate of multiple other structs. 2019-08-30 12:55:50 -04:00
yellows8
7515bb4466
Use SetShimLibraryVersion with capssu. 2019-08-29 21:19:58 -04:00
yellows8
6d7d96a751
Added struct AlbumFileEntry, which grcMovieMakerFinish now uses. Updated CapsApplicationAlbumEntry. 2019-08-28 22:56:20 -04:00
yellows8
b269f58f8f
Renamed capsscCaptureScreenshot to capsscCaptureRawImageWithTimeout. 2019-08-28 22:38:12 -04:00
yellows8
318f2b33b6
Added appletCreateMovieMaker. Added support for grc MovieMaker. Improved grc docs. 2019-08-28 18:41:43 -04:00
yellows8
e7209bbcf5
Fixed the name of setsysGetServiceSession in the .c, so that it matches the .h. 2019-08-28 17:14:40 -04:00
yellows8
c790aa0fab
Added capsGetShimLibraryVersion. Added comments to audio.h. 2019-08-27 19:14:18 -04:00
yellows8
3999ec147e
Use serviceIpcPrepareHeader/serviceIpcParse with binder to support using domains. 2019-08-27 18:32:53 -04:00
yellows8
4177031ebe
Use the same style for all system-versions. 2019-08-26 13:05:49 -04:00
yellows8
6246f56305
Changed the type for NacpStruct.ratingAge to s8. 2019-08-26 11:56:24 -04:00
yellows8
0569ca7588
Updated docs. Use proper doxygen sections instead of plain comments, and use same style for all system-versions in applet docs. Internal applet.c improvements. Added appletGetServiceSession_*() funcs. 2019-08-26 10:40:24 -04:00
yellows8
bde3ae5a77
Added binder_session param to nwindowCreate(), which is now used with the binderInitSession() call instead of a hard-coded Service. Moved the viGetSession_IHOSBinderDriverRelay() call into nwindowCreateFromLayer(), for this new param. 2019-08-25 20:08:22 -04:00
yellows8
5e535bc2eb
Added support for grcd. 2019-08-24 23:30:30 -04:00
yellows8
c8b9120ba4
Updated docs. 2019-08-24 11:00:26 -04:00
yellows8
86ab999ee2
Added grc, for trimming videos. Added appletCreateGameMovieTrimmer, appletReserveResourceForMovieOperation, and appletUnreserveResourceForMovieOperation. Added structs CapsAlbumFileDateTime/CapsAlbumEntryId and updated CapsAlbumEntry. 2019-08-24 10:55:43 -04:00
yellows8
7c18df6d4c
Added appletRequestFlushGamePlayingMovieForDebug. 2019-08-22 10:27:49 -04:00
yellows8
c7cab0351c
Added appletExecuteProgram, appletJumpToSubApplicationProgramForDevelopment, appletRestartProgram, and appletGetPreviousProgramIndex. Added AppletProgramSpecifyKind. 2019-08-21 17:38:35 -04:00
yellows8
79e6db16be
Added appletPrepareForJit. 2019-08-21 12:14:29 -04:00