yellows8
dc0bc2ab7b
hid: Fixed memset in hidJoystickRead().
2020-12-01 13:49:51 +01:00
yellows8
1c82758c03
hid: Added hidGetTouchScreenStates, which hidScanInput now uses.
...
Struct adjustments.
2020-12-01 13:49:51 +01:00
fincs
2c26092608
hid: Implement hidSixAxisSensorValuesRead using hidGetSixAxisSensorStates + other minor adjustments
2020-12-01 13:49:51 +01:00
yellows8
e32acbeb9f
hid: Added hidGetSixAxisSensorStates.
...
Internal improvements, etc.
2020-12-01 13:49:51 +01:00
yellows8
16ff35faea
hid: Use structs for vibration/SixAxis handles.
...
Various internal improvements, andpass vibration handles by value where needed.
2020-12-01 13:49:51 +01:00
fincs
c0ef14fcaa
hid: Changed hidGetNpadStates* to return total_out directly instead of using an output var
2020-12-01 13:49:51 +01:00
fincs
0640c9da76
hid: Introduce HidNpadIdType, see details:
...
- Replaced most usages of HidControllerID with HidNpadIdType
- HidControllerID still exists for now, and the following functions
keep accepting it for compatibility with most homebrew:
- hidIsControllerConnected
- hidKeysHeld/Down/Up
- hidJoystickRead
- hidSixAxisSensorValuesRead
- hidControllerIDTo/FromOfficial renamed to ToNpadIdType/FromNpadIdType
- Updated some comments that were left untouched during previous hid refactoring
- Partial internal refactor of hidGetNpadStates*
2020-12-01 13:49:50 +01:00
fincs
40e5b08f70
Split hidGetNpadControllerColor/PowerInfo into Single/Split variants
2020-12-01 13:49:50 +01:00
yellows8
3f4f6dba44
hid: Handle NULL with hidGetNpadStates*() total_out.
...
Use const for hidSetSupportedNpadIdType().
2020-12-01 13:49:50 +01:00
yellows8
a924fac0ab
hid: Filled in the Gc trigger fields.
2020-12-01 13:49:50 +01:00
yellows8
9f13045546
hid: Added support for NpadGc.
...
Struct adjustments.
2020-12-01 13:49:49 +01:00
yellows8
7340772267
hid: Internal state reading improvements.
...
Struct adjustments.
2020-12-01 13:49:49 +01:00
yellows8
21647a76c8
hid: Added support for *Lark/Lucia.
...
Struct adjustments.
2020-12-01 13:49:49 +01:00
yellows8
ce20e14034
hid: Added hidGetNpadStatesPalma.
2020-12-01 13:49:49 +01:00
yellows8
46377bc180
hid: Added handling for NpadSystem(Ext).
...
Added hidGetNpadStatesSystemExt/hidGetNpadStatesSystem, and functionality for using these in hidScanInput().
Updated a struct.
2020-12-01 13:49:49 +01:00
yellows8
db39de34c5
hid: Replaced various funcs with versions which read from sharedmem.
...
* Various struct adjustments.
* Removed HidControllerLayoutType/hidSetControllerLayout/hidGetControllerLayout, since these are no longer used.
* Added HidNpadJoyAssignmentMode and hidGetNpadJoyAssignment.
* Replaced hidGetControllerFlags with hidGetNpadSystemProperties/hidGetNpadSystemButtonProperties.
* Added hidGetAppletFooterUiAttributesSet/hidGetAppletFooterUiTypes.
* hidScanInput() now uses hidGetNpadStates*() as determined by the output from hidGetNpadStyleSet().
2020-12-01 13:49:48 +01:00
yellows8
1e3145f81d
hid: Struct adjustments.
2020-12-01 13:49:48 +01:00
yellows8
991a262e19
hid: Replaced HidControllerType with HidNpadStyleTag.
...
HidNpadStyleTag now includes more controllers.
Replaced hidGetControllerType with hidGetNpadStyleSet().
Improved _hidGetDeviceHandles(), more controllers are now supported.
2020-12-01 13:49:48 +01:00
yellows8
ddc9538b69
hid: Updated/added structs and added hidGetNpadStates*().
2020-12-01 13:49:47 +01:00
fincs
74b295827f
Add svcGetResourceLimitPeakValue [11.0.0+]
2020-12-01 13:49:15 +01:00
SciresM
8ce231e7c9
ldr: update SetProgramArguments for 11.0.0 abi change ( #507 )
2020-12-01 12:01:33 +01:00
Michael Scire
e5ae43f4c2
results: use R_VALUE for comparisons
2020-12-01 02:26:26 +01:00
averne
2fdae0db52
Add service wrappers for ins:r and ins:s ( #502 )
2020-11-08 00:28:20 +01:00
fincs
8310f438ca
virtmem: Add memory reservation system
...
jit: Use virtmemFindCodeMemory on both codepaths; use virtmem reservations
in order to support the JitType_SetProcessMemoryPermission codepath
2020-10-30 16:07:38 +01:00
fincs
490d96e6eb
virtmem: Add virtmemFindCodeMemory to work around a quirk in 1.x kernel
2020-10-30 00:16:03 +01:00
fincs
970d982e57
Add diagAbortWithResult, see details:
...
- This is a (weak/overridable) function meant to be called when the
program encounters an unrecoverable error, but it's not fatal enough
to bring down the entire system with it.
- The default implementation uses svcBreak, passing the result code
in the user buffer.
- Replaced all usages of fatalThrow with diagAbortWithResult throughout
the entire library.
2020-10-29 13:40:35 +01:00
fincs
a05a44fca8
virtmem: Major rewrite to support ASLR, see details:
...
- Added virtmemLock/Unlock, needed for atomic find-and-map operations
- Added virtmemFindAslr, which looks for a random free area in AslrRegion
- virtmemReserve still exists for legacy callers who rely on sequential
allocation in order to avoid race conditions from concurrent uses
- Added virtmemFindStack, which searches within StackRegion instead
- Removed virtmemReserveStack/FreeStack
- Changed shmem/thread/tmem/codememory-jit to use the new virtmem API
- Legacy jit still uses virtmemReserve
2020-10-27 12:27:32 +01:00
fincs
e655b48c41
crt0: clean up/refactor; envSetup: properly detect NSO/NRO environment...
2020-10-27 12:27:32 +01:00
fincs
7c6d7849f5
Remove obsolete kernel detection code
2020-10-27 12:27:32 +01:00
fincs
8d51f7de1c
jit: Transfer the responsibility of detecting whether CodeMemory syscalls are available/usable to the homebrew environment
2020-10-27 12:27:31 +01:00
fincs
d0d64ce1ce
fatalThrow: use hosversion instead of kerneldetect (and remove old alias)
2020-10-27 12:27:31 +01:00
fincs
4c6abe1e41
svcBreak: fix prototype, add and use BreakReason enum
2020-10-27 12:27:31 +01:00
fincs
e0c1dfe2ce
Add light event synchronization primitive [4.0.0+]
2020-10-27 12:27:20 +01:00
Michael Scire
dee3a7a241
gpio: loosen sysver restriction on OpenSession
2020-10-26 11:55:03 +01:00
Michael Scire
0ff42ee69e
gpio: implement majority of the service
2020-10-26 11:48:07 +01:00
yellows8
8a31abeea7
Added lp2p.
2020-10-25 14:00:44 -04:00
averne
022887ac2d
Fix event handle retrieval in spl
2020-10-04 00:20:16 +02:00
Vicki Pfau
4afec4016d
psm: Add more battery functions
2020-09-28 00:36:35 +02:00
yellows8
f01fb21da5
Added uart.
2020-09-12 18:53:30 -04:00
yellows8
cccef0c525
audout: Properly pass the aruid in audoutOpenAudioOut, fixes #197 .
2020-08-21 13:32:31 -04:00
yellows8
ac8ac4919e
set: Updated for [10.1.0+], added more cmds, use struct for nickname.
2020-08-20 23:20:10 -04:00
yellows8
5820178f56
btdrv: Updated param order.
2020-08-20 18:38:55 -04:00
yellows8
89358ba98c
btdrv: Use const for btdrvWriteHidData/btdrvSetHidReport.
2020-08-20 18:38:55 -04:00
yellows8
c669589a35
bluetooth: Updated params, improved docs, etc.
2020-08-20 18:38:55 -04:00
yellows8
8718ea3659
Added btdev.
2020-08-20 18:38:55 -04:00
yellows8
3b670bc652
btdrv: Added the remaining cmds, various fixes, and added a types .h.
2020-08-20 18:38:55 -04:00
yellows8
ab9ce7c330
btdrv: Added support for pre-4.0.0, etc.
2020-08-20 18:38:55 -04:00
yellows8
8789077bb8
btm: Added the aruid cmds.
2020-08-20 18:38:55 -04:00
yellows8
070e959609
btm: Added more cmds.
2020-08-20 18:38:55 -04:00
yellows8
abf3600724
Added btm, moved btmu structs into btm, and updated docs.
2020-08-20 18:38:55 -04:00
yellows8
5551fcfab6
btmu/btdrv: Use bool flag where needed and updated docs.
2020-08-20 18:38:55 -04:00
yellows8
1442280447
btmu: g_btdrvIBtmUserCore -> g_btmuIBtmUserCore
2020-08-20 18:38:55 -04:00
yellows8
e7fbdf9eb1
Added btmsys.
2020-08-20 18:38:55 -04:00
yellows8
94464baf38
btdrv/btmu: Various improvements.
2020-08-20 18:38:55 -04:00
yellows8
9439243649
Added btmu and added btdrv structs.
2020-08-20 18:38:55 -04:00
yellows8
a771f06a0e
btdrv: Fixed btdrvGetHidReport IPC, updated docs, and added an enum.
2020-08-20 18:38:55 -04:00
yellows8
354e7d84fd
btdrv: Added btdrvTriggerConnection.
2020-08-20 18:38:55 -04:00
yellows8
045f6477d9
btdrv: Added cmds:
...
btdrvSetBleVisibility, btdrvSetBleAdvertiseData, btdrvSetBleAdvertiseParameter, btdrvRegisterGattClient, btdrvUnregisterGattClient, btdrvUnregisterAllGattClients, btdrvGetGattAttribute, btdrvGetGattService, btdrvRegisterGattServer, btdrvUnregisterGattServer, btdrvConnectGattClient, btdrvDisconnectGattClient, btdrvAddGattService, btdrvEnableGattService, btdrvAddGattCharacteristic, btdrvAddGattDescriptor, btdrvGetBleManagedEventInfo, btdrvGetGattFirstCharacteristic, btdrvGetGattNextCharacteristic, btdrvGetGattFirstDescriptor, btdrvGetGattNextDescriptor, btdrvRegisterGattManagedDataPath, btdrvUnregisterGattManagedDataPath, btdrvRegisterGattHidDataPath, btdrvUnregisterGattHidDataPath, btdrvRegisterGattDataPath, btdrvUnregisterGattDataPath.
2020-08-20 18:38:55 -04:00
yellows8
e0ee2ffc86
btdrv: Added btdrvGetEventInfo/btdrvGetHidEventInfo, etc.
2020-08-20 18:38:55 -04:00
yellows8
0075672b93
btdrvGetLeEventInfo -> btdrvGetLeHidEventInfo
2020-08-20 18:38:55 -04:00
yellows8
b15a583b80
btdrv: Added more cmds and the required enum:
...
btdrvGetLatestPlr, btdrvEnableTxPowerBoostSetting, btdrvIsTxPowerBoostSettingEnabled, btdrvEnableAfhSetting, btdrvIsAfhSettingEnabled, btdrvGetChannelMap, btdrvMoveToSecondaryPiconet, btdrvIsManufacturingMode, btdrvEmulateBluetoothCrash, btdrvGetBleChannelMap.
2020-08-20 18:38:55 -04:00
yellows8
b18912980e
btdrv: Added HidReportEventInfo support.
2020-08-20 18:38:55 -04:00
yellows8
2878b97f3a
btdrv: Added cmds:
...
btdrvGetAdapterProperties, btdrvGetAdapterProperty, btdrvSetAdapterProperty, btdrvWriteHidData, btdrvWriteHidData2, btdrvSetHidReport, btdrvGetHidReport.
Added/updated the required enum/struct.
bt(drv): Updated docs.
2020-08-20 18:38:55 -04:00
yellows8
7e06e0e657
btdrv: Use InitializeBluetoothDriver during init.
2020-08-20 18:38:55 -04:00
yellows8
a5e8572019
Added initial bluetooth support.
2020-08-20 18:38:55 -04:00
yellows8
bcc0f86aa3
hidbus/ringcon: Fixed cleanup, this also fixed a crash.
2020-08-20 13:28:26 -04:00
HookedBehemoth
9a1e3aeb47
add news service wrapper ( #493 )
2020-08-04 19:37:34 +02:00
Adubbz
ed16b7f948
hiddbg: implement DeactivateHomeButton
2020-07-07 12:35:37 +02:00
SciresM
b8a095ac2f
fs: add missing AccessLog functions. ( #491 )
2020-07-03 00:03:36 +02:00
yellows8
e2db987144
web: Added WebSession support.
2020-06-24 10:39:18 -04:00
yellows8
6620dfaa6f
applet: Added get-event funcs:
...
appletHolderGetExitEvent and expose appletHolderGetPopInteractiveOutDataEvent.
2020-06-24 10:35:30 -04:00
Ezekiel Bethel
d0a7c6a2a5
fix return value of romfs_stat for non-existent files/directories ( #488 )
2020-06-18 10:58:12 +01:00
yellows8
044eac2f3d
web: Updated for 10.x.
2020-06-15 15:40:05 -04:00
yellows8
3d4f61735a
swkbd: Updated for 10.x and added:
...
swkbdInlineGetMaxHeight, swkbdInlineGetTouchRectangles, swkbdInlineIsUsedTouchPointByKeyboard.
2020-06-14 00:03:19 -04:00
yellows8
857e2f5c4d
swkbd: Added proper support for using SwkbdInlineMode_UserDisplay.
2020-06-11 22:40:14 -04:00
yellows8
29dd63e5db
Added support for nifmLa. Added nifmRequestGetAppletInfo.
2020-06-11 19:00:07 -04:00
yellows8
7940d8e9e1
Added support for the miiLa libapplet (MiiEdit).
2020-06-09 22:01:15 -04:00
yellows8
9dc185ba3c
Added support for libapplet nfpLa (amiibo).
2020-06-06 22:40:28 -04:00
HookedBehemoth
ac468913e4
add commands for accessing process storage ( #485 )
2020-06-06 15:13:23 +02:00
yellows8
eb9d377320
hid: Implemented the remaining functionality for supporting SevenSixAxisSensor, and added the required structs. Updated hidInitializeSevenSixAxisSensor for the [10.0.0+] change.
2020-06-01 12:11:24 -04:00
Dave Murphy
db795f42ad
fix stat for romfs directories
2020-05-27 14:59:43 +02:00
Ezekiel Bethel
573e2f772c
add lstat to fs_dev and romfs_dev
2020-05-26 17:32:54 +02:00
yellows8
17ebe4104a
ldn: Updated structs.
2020-05-24 12:34:43 -04:00
yellows8
2f25c57d0e
ldn: Updated structs.
2020-05-18 14:57:22 -04:00
yellows8
02ed902558
Added support for ldn.
2020-05-17 15:49:23 -04:00
Michael Scire
3d726ed78c
mutex: rewrite to optimize
2020-05-17 17:46:59 +02:00
yellows8
3c08ce6936
nifm: Added support for IRequest.
2020-05-12 23:32:20 -04:00
Michael Scire
4f401256b0
psc: correct version for pscPmModuleAcknowledge
2020-05-07 12:29:43 +02:00
Dave Murphy
c7130a785a
fix string truncation warning
2020-05-03 00:58:03 +02:00
Dave Murphy
5b879cbb0e
remove unreferenced struct
2020-05-03 00:58:03 +02:00
yellows8
ea77c1d4cb
ssl: Improved the SslVersion enum and updated the param type for sslCreateContext.
2020-04-29 12:26:44 -04:00
fincs
b0494c1acb
Update outdated comments and naming in jit.h/c
2020-04-27 13:46:55 +02:00
Adubbz
dbc4b759e2
set: fix GetGyroscopeOffset
2020-04-26 16:52:28 +02:00
yellows8
3b2b3ebad4
socket-ssl: Updated docs. Check for output sockfd=-1 from the cmd with socketSslConnectionSetSocketDescriptor.
2020-04-24 16:39:22 -04:00
yellows8
41e90ef8b5
ssl: Updated params and docs + various improvements. Added sslConnectionGetServerCertDetail and the required structs.
2020-04-24 16:39:22 -04:00
yellows8
41aefdc5ee
ssl/socket: Added socketSslConnectionSetSocketDescriptor/socketSslConnectionGetSocketDescriptor wrappers, and updated ssl for this.
2020-04-24 16:39:22 -04:00
yellows8
613fa855da
ssl: Implemented the remaining ISslConnection cmds. Expose the total_out param for sslGetCertificates. Various improvements / updated docs.
2020-04-24 16:39:22 -04:00
yellows8
60e4ee04b0
Added initial support for the ssl service.
2020-04-24 16:39:22 -04:00
HookedBehemoth
8e245a0ba8
add capssc 1201-1203 debug calls ( #408 )
2020-04-24 22:10:42 +02:00
SciresM
8cbac97466
capssc: Add CaptureJpegScreenShot ( #407 )
2020-04-23 00:07:03 +02:00
yellows8
cc7fb493e1
hidsys: Added support for all of the [10.0.0+] ButtonConfig cmds, and the required enum/structs.
2020-04-20 18:46:42 -04:00
Michael Scire
6fae441714
ns: fix appman getter funcs on 3.0.0-5.0.2
2020-04-20 12:36:50 +02:00
fincs
a1af4494bf
Add nvGpuChannelGetErrorInfo, see details:
...
- Rename NvError(Type) to NvNotification(Type)
- Introduce NvError struct (output of GetErrorInfo)
- Add nvioctlChannel_GetErrorInfo
2020-04-19 22:18:45 +02:00
fincs
f5e4615a40
nvChannelClose: cleanup fixes
2020-04-19 22:15:32 +02:00
fincs
dc20bf67e9
nvGpuChannelCreate: make channel priority configurable
2020-04-19 22:14:53 +02:00
yellows8
0de0dfdd8d
swkbd: Use appletHolderPresetLibraryAppletGpuTimeSliceZero on [10.0.0+] in _swkbdInlineLaunch. In _swkbdInlineLaunch, use appletHolderClose if needed when errors occur.
2020-04-18 13:25:21 -04:00
yellows8
1925e32c6d
applet: Added support for most of the [10.0.0+] cmds: appletCancelCpuBoostMode, appletActivateMigrationService, appletDeactivateMigrationService, appletCreateManagedDisplaySeparableLayer, appletSetManagedDisplayLayerSeparationMode, appletHolderPresetLibraryAppletGpuTimeSliceZero, appletRequestToSleep, appletApplicationRequestApplicationSoftReset, appletApplicationRestartApplicationTimer, appletSetApplicationMemoryReservation, appletShouldSetGpuTimeSliceManually, appletIsHealthWarningRequired, appletIsHomeButtonShortPressedBlocked.
2020-04-18 13:21:39 -04:00
shchmue
e79c8a2467
Add new 10.0.0 settings calls ( #404 )
2020-04-18 00:45:53 +02:00
yellows8
b1b80f5493
pdm: Updated for [10.0.0+].
2020-04-17 14:17:30 -04:00
fincs
4b7921a221
Make nxlink stdio more flexible, see details:
...
- Added nxlinkConnectToHost with separate flags for redirecting stdout/err
- Added nxlinkStdioForDebug, which only redirects stderr
- (nxlinkStdio now just calls nxlinkConnectToHost)
2020-04-17 16:46:54 +02:00
fincs
4c9b2ac048
Separate debug console code from normal console code, see details:
...
- consoleDebugInit now lives in a separate source code file
- The devoptab for debugDevice_CONSOLE is now loaded weakly, so that
normal console code isn't linked in by explicit means
- consoleInit no longer sets up stderr. If stderr to console is desired,
explicitly use consoleDebugInit(debugDevice_CONSOLE)
- This change makes it possible to use debugDevice_SVC without linking
in the entire console runtime, which in turn also enabled default
native window handling (and this can be undesirable)
2020-04-17 16:46:40 +02:00
XorTroll
763b1694ec
Add mii and miiimg services ( #402 )
2020-04-17 01:28:53 +02:00
Michael Scire
0b93435a44
lr: add lrLrEraseProgramRedirection
2020-04-16 21:24:49 +02:00
Michael Scire
d4c278cf00
pm: rename EnableApplicationExtraThread
2020-04-16 21:24:49 +02:00
Michael Scire
f86dc2ceba
pgl: implement full api
2020-04-16 21:24:49 +02:00
yellows8
db14e06fb2
Added a sysver-check for appletOpenMainApplication, it was removed with [10.0.0+]. Added a required-sysver comment for ldrPmSetEnabledProgramVerification.
2020-04-16 13:54:44 -04:00
yellows8
ab715a9a49
bpc: Added a required-sysver check for bpcGetSleepButtonState which was missing.
2020-04-16 13:46:55 -04:00
yellows8
3a22332630
ns: Added/updated required-sysver checks as needed by [10.0.0+], and added nsdevLaunchApplicationFromHost.
2020-04-16 12:38:46 -04:00
HookedBehemoth
a272fa75b9
make pl:s accessible ( #400 )
2020-04-15 18:18:14 +02:00
Michael Scire
7e581f6110
fix if spacing
2020-04-14 21:29:38 +02:00
Michael Scire
cb7c1f87a8
svc: QueryIoMapping ABI change in 10.x
2020-04-14 21:29:38 +02:00
Michael Scire
02e4aad9dc
pgl: add pglTerminateProcess
2020-04-14 21:29:38 +02:00
Michael Scire
27b34533ac
ldr: add ldrPmSetEnabledProgramVerification
2020-04-14 21:29:38 +02:00
Michael Scire
af051c8301
fsp-pr: SetEnabledProgramVerification removed in 10.0.0
2020-04-14 21:29:38 +02:00
Michael Scire
fa0234efff
fsldr: update for 10.0.0
2020-04-14 21:29:38 +02:00
yellows8
ca6a48d2b6
irs: Fixed the sysver handling in _irsInitialize(), previously only the values for [4.0.0+] would be used when running on [4.0.0+].
2020-04-11 23:16:20 -04:00
SciresM
966edb1f0f
set: fix SetRegion, setsysGetSerialNumber ( #397 )
2020-04-12 03:14:36 +02:00
yellows8
f4c3b288fd
nifm: Added nifmGetCurrentNetworkProfile, nifmGetNetworkProfile, nifmSetNetworkProfile, nifmGetCurrentIpConfigInfo. Internal nifmGetCurrentIpAddress improvements. Added structs: NifmIpV4Address, NifmIpAddressSetting, NifmDnsSetting, NifmProxySetting, NifmIpSettingData, NifmWirelessSettingData, NifmSfWirelessSettingData, NifmSfNetworkProfileData, NifmNetworkProfileData. Various improvements / improved docs.
2020-04-11 13:00:06 -04:00
fincs
fbd97a1fc3
time: minor cleanup in steady clock timepoint calculation
2020-04-11 00:20:21 +02:00
fincs
39629f5a67
timeGetCurrentTime: add shared memory support [6.0.0+]
2020-04-11 00:16:07 +02:00
fincs
b0d96342e8
time: Add timeGetStandardSteadyClockInternalOffset [3.0.0+]
2020-04-11 00:13:21 +02:00
fincs
b4db31e536
time: Expose TimeStandardSteadyClockTimePointType, correct TimeSystemClockContext
2020-04-11 00:08:12 +02:00
fincs
b18ae1c884
time: Add timeGetStandardSteadyClockTimePoint (uses sharedmem on 6.x+, ISteadyClock prior to 6.x)
2020-04-10 19:42:31 +02:00
fincs
2edfb7cc56
time: Retrieve and expose shared memory [6.0.0+]
2020-04-10 17:18:12 +02:00
fincs
bf5331d178
shmemMap: Fix invalid libnx result
2020-04-10 17:16:57 +02:00
yellows8
5e95507cbc
bsd/sockets: Added actual support for recvmsg/sendmsg and sendmmsg/recvmmsg, on [7.0.0+].
2020-04-09 13:15:07 -04:00
SciresM
4746827513
thread: add threadGetSelf(), add main thread to thread list. ( #392 )
2020-04-07 01:47:06 +02:00
HookedBehemoth
7dbb90ee66
add remaining IAudioOut commands ( #393 )
2020-04-06 23:29:27 +02:00
XorTroll
77022a6d11
Fix nfp OpenApplicationArea command ( #391 )
2020-04-05 13:54:47 -04:00
yellows8
0723df74dd
irs: Updated the IrsPointingProcessorMarkerState struct.
2020-04-04 14:12:26 -04:00
yellows8
c82c8b8760
fs/fs_dev: Added fsOpenReadOnlySaveDataFileSystem and fsOpen_SaveDataReadOnly/fsdevMountSaveDataReadOnly. Minor adjustments.
2020-04-03 19:58:40 -04:00
yellows8
fa52f9b046
fs/fs_dev: Added fsOpen_TemporaryStorage/fsOpen_CacheStorage and fsdevMountTemporaryStorage/fsdevMountCacheStorage. Minor adjustments.
2020-04-03 19:16:26 -04:00
yellows8
918fe2b4d6
fs/fs_dev: Added fsOpen_BcatSaveData/fsOpen_SystemBcatSaveData and fsdevMountBcatSaveData/fsdevMountSystemBcatSaveData.
2020-04-03 11:04:05 -04:00
yellows8
014b02db97
irs: Major overhaul, irs is now properly supported. Functionality for newer system-versions is now supported.
...
* Updated structs: IrsPackedMomentProcessorConfig, IrsImageTransferProcessorConfig, IrsPackedImageTransferProcessorConfig, IrsImageTransferProcessorState.
* The u32 IrCameraHandle was replaced with struct IrsIrCameraHandle.
* Added various enums/structs, etc. Improved docs.
* irsActivateIrsensor() and irsSuspendImageProcessor() are no longer exposed, these are now used automatically when needed.
* Added the following: irsGetIrCameraStatus, irsCheckFirmwareUpdateNecessity, irsGetImageProcessorStatus, irsStopImageProcessorAsync, irsRunMomentProcessor, irsGetMomentProcessorStates, irsCalculateMomentRegionStatistic, irsRunClusteringProcessor, irsGetClusteringProcessorStates, irsRunImageTransferExProcessor, irsRunPointingProcessor, irsGetPointingProcessorMarkerStates, irsGetPointingProcessorStates, irsRunTeraPluginProcessor, irsGetTeraPluginProcessorStates, irsRunIrLedProcessor, irsRunAdaptiveClusteringProcessor, irsRunHandAnalysis, irsGetMomentProcessorDefaultConfig, irsGetClusteringProcessorDefaultConfig, irsGetDefaultImageTransferProcessorExConfig, irsGetIrLedProcessorDefaultConfig.
2020-04-02 18:38:55 -04:00
SciresM
75c3d2eca4
nim: add ListSystemUpdateTask/DestroySystemUpdateTask ( #390 )
2020-03-31 21:41:05 +02:00
Michael Scire
5d57c70a3e
fix calls to svcSetThreadActivity
2020-03-29 18:42:19 +02:00
Michael Scire
43549f4596
svc: fix definitions to better match kernel
2020-03-29 18:42:19 +02:00
yellows8
b50ac5b322
Added ringcon. ( #388 )
...
* Added ringcon.
2020-03-24 22:18:56 -04:00
yellows8
f0f21507db
fs/fsdev: Added fsdevMountDeviceSaveData/fsOpen_DeviceSaveData, and minor other adjustments.
2020-03-18 22:33:15 -04:00
fincs
6535d6f871
Remove U64_MAX in favor of using UINT64_MAX
2020-03-16 16:21:33 +01:00
fincs
cacf8615a8
Remove arm/atomics.h (use C <stdatomic.h> or C++ <atomic> instead)
2020-03-16 12:51:07 +01:00
fincs
2c19f13f74
nvFence/nvGpu/nvMap: use service guard instead of unsafe atomic refcnt
2020-03-16 12:48:08 +01:00
yellows8
83f406b5cb
Added hidbus.
2020-03-14 12:10:50 -04:00
fincs
8421863c78
applet: appletSetFocusHandlingMode should only be used with Application
2020-03-10 17:42:00 +01:00
shchmue
7ce58f84e0
Complete and correct all Settings calls ( #383 )
2020-03-10 16:35:11 +01:00
fincs
ccb79ff4b6
NWindow: don't use bqDetachBuffer as it's unnecessary and in fact does nothing in the place it's called (reported by @Thog)
2020-03-10 00:07:04 +01:00
yellows8
bf8f6ae5f5
ns: Use 'static ... const' with servarray.
2020-03-08 17:42:25 -04:00
Michael Scire
afbf2c6f71
fs: be consistent about no stack temps in fsFs
2020-03-08 00:47:01 +01:00
SciresM
c3b0b63471
fs: add IsSignedSystemPartitionOnSdCardValid ( #381 )
2020-03-07 12:40:02 +01:00
3096
1b1620f7bb
apm: add apmGetPerformanceMode
2020-03-06 18:12:10 +01:00
yellows8
44ec13169d
pl: Removed unneeded plExit call from _plInitialize on errors, which is not needed with new-ipc.
2020-03-05 10:39:29 -05:00
yellows8
c85dd5fe2f
ns: Added nsGetDynamicRightsInterface, nsGetReadOnlyApplicationRecordInterface, nsGetApplicationVersionInterface, nsGetAccountProxyInterface, nsGetDocumentInterface.
2020-03-03 16:27:44 -05:00
yellows8
f589c95214
ns: Added support for using the other services as fallback on [3.0.0+] when ns:am2 isn't available.
2020-03-03 14:47:22 -05:00
yellows8
af2b4ab7c3
ns: Added nsGetApplicationManagerInterface(), and removed automatic IApplicationManagerInterface init on [3.0.0+]. Updated all IApplicationManagerInterface cmds to use service-session IApplicationManagerInterface on pre-3.0.0, otherwise nsGetApplicationManagerInterface() is used. Apps which use nsGetServiceSession_ApplicationManagerInterface must now use nsGetApplicationManagerInterface if running on [3.0.0+].
2020-03-01 15:06:15 -05:00
yellows8
763b32060a
ns: Added nsGetApplicationDesiredLanguage.
2020-02-29 22:39:43 -05:00
yellows8
7822accc22
ns: Added nsGetReadOnlyApplicationControlDataInterface. Use IReadOnlyApplicationControlDataInterface with nsGetApplicationControlData when needed.
2020-02-28 20:10:29 -05:00
yellows8
fdb6aa1f15
ns: Added nsGetECommerceInterface. Added cmds: nsRequestLinkDevice, nsRequestSyncRights, nsRequestUnlinkDevice. Minor adjustments.
2020-02-28 14:36:10 -05:00
HookedBehemoth
7e07d1edf0
add fan service ( #376 )
2020-02-28 19:23:10 +01:00
HookedBehemoth
abc3522724
lbl: more commands ( #377 )
2020-02-28 19:13:27 +01:00
HookedBehemoth
23852ad932
add tc ( #378 )
2020-02-28 17:59:31 +01:00
yellows8
3ff12e7337
ns: Added nsGetDownloadTaskInterface. Added NsDownloadTaskStatus. Added support for IDownloadTaskInterface.
2020-02-27 20:52:14 -05:00
yellows8
424cd0fefe
ns: Check sysver in nsGetFactoryResetInterface, and added nsGetContentManagementInterface. Use IContentManagementInterface with the relevant cmds when needed. Added struct NsApplicationOccupiedSize. Added cmds: nsCalculateApplicationOccupiedSize, nsCheckSdCardMountStatus, nsCountApplicationContentMeta, nsIsAnyApplicationRunning.
2020-02-26 22:38:13 -05:00
yellows8
8ae9b5e1a9
ns: Added nsGetFactoryResetInterface(). Added support for IFactoryResetInterface. Improved docs, etc.
2020-02-26 17:36:15 -05:00
yellows8
4a493775b4
ns: Added support for nsDeleteUserSaveDataAll()/NsProgressMonitorForDeleteUserSaveDataAll. Added struct NsProgressForDeleteUserSaveDataAll.
2020-02-25 15:07:47 -05:00
yellows8
524e910268
ns: Added nsListApplicationTitle and nsListApplicationIcon.
2020-02-22 23:58:27 -05:00
yellows8
129b3a95b8
Added support for NsProgressAsyncResult and nsRequestVerifyAddOnContentsRights/nsRequestVerifyApplication. Updated docs.
2020-02-20 22:17:13 -05:00
HookedBehemoth
d8a50a46cf
add caps:c ( #375 )
2020-02-19 23:32:01 +01:00
shchmue
86a5aa4466
Correct structs and finish adding all set:cal calls ( #373 )
2020-02-18 19:56:31 +01:00
yellows8
0db4f8a953
ns: Added structs: NsApplicationViewDeprecated, NsApplicationView, NsPromotionInfo, NsApplicationViewWithPromotionInfo. Added cmds: nsGetApplicationViewDeprecated, nsGetApplicationView, nsGetApplicationViewDownloadErrorContext, nsGetApplicationViewWithPromotionInfo, nsGetPromotionInfo.
2020-02-18 10:26:35 -05:00
Michael Scire
73047b09fd
spl: fix rsa key accessors on >= 5.x
2020-02-17 23:20:45 +01:00
yellows8
c570cd0a2f
ns: Added NsApplicationRightsOnClient/nsGetApplicationRightsOnClient().
2020-02-17 15:46:02 -05:00
yellows8
d8d931fe25
ns: Added support for the following cmds: nsRequestApplicationUpdateInfo, nsRequestUpdateApplication2, nsRequestDownloadApplicationControlData, nsRequestCheckGameCardRegistration, nsRequestGameCardRegistrationGoldPoint, nsRequestRegisterGameCard, nsRequestDownloadApplicationPrepurchasedRights, nsRequestNoDownloadRightsErrorResolution, nsRequestResolveNoDownloadRightsError.
2020-02-16 21:33:24 -05:00
yellows8
9bf745524d
nifm: Added NifmClientId and nifmGetClientId/nifmIsAnyInternetRequestAccepted.
2020-02-15 12:32:50 -05:00
yellows8
68d6260d72
ns: Actually check the required sysver for nsListApplicationContentMetaStatus. Updated param types for nsGetTotalSpaceSize/nsGetFreeSpaceSize + minor other improvements. Added support for the following:
...
* NsRequestServerStopper/nsRequestServerStopperClose().
* nsGetApplicationRecordUpdateSystemEvent, nsDeleteApplicationEntity, nsDeleteApplicationCompletely, nsDeleteRedundantApplicationEntity, nsIsApplicationEntityMovable, nsMoveApplicationEntity, nsCancelApplicationDownload, nsResumeApplicationDownload, nsCheckApplicationLaunchVersion, nsCalculateApplicationDownloadRequiredSize, nsCleanupSdCard, nsGetSdCardMountStatusChangedEvent, nsGetGameCardUpdateDetectionEvent, nsDisableApplicationAutoDelete, nsEnableApplicationAutoDelete, nsSetApplicationTerminateResult, nsClearApplicationTerminateResult, nsGetLastSdCardMountUnexpectedResult.
* nsGetRequestServerStopper, nsCancelApplicationApplyDelta, nsResumeApplicationApplyDelta, nsCalculateApplicationApplyDeltaRequiredSize, nsResumeAll, nsGetStorageSize, nsDeleteUserSystemSaveData, nsDeleteSaveData, nsUnregisterNetworkServiceAccount, nsUnregisterNetworkServiceAccountWithUserSaveDataDeletion, nsGetGameCardMountFailureEvent, nsIsGameCardInserted, nsEnsureGameCardAccess, nsGetLastGameCardMountFailureResult, nsListApplicationIdOnGameCard, nsTouchApplication, nsIsApplicationUpdateRequested, nsWithdrawApplicationUpdateRequest, nsIsAnyApplicationEntityInstalled, nsCleanupUnavailableAddOnContents, nsFormatSdCard, nsNeedsSystemUpdateToFormatSdCard, nsGetLastSdCardFormatUnexpectedResult, nsGetApplicationTerminateResult.
2020-02-10 12:14:40 -05:00
yellows8
52a892ca31
ns: Fixed cmd order.
2020-02-06 20:07:02 -05:00
HookedBehemoth
2486175f55
add jpegdec/caps:dc ( #369 )
2020-01-31 17:53:07 +01:00
HookedBehemoth
c28d736ff0
fs: add fsOpenImageDirectoryFileSystem and FsImageDirectoryId
2020-01-28 20:39:41 -05:00
yellows8
6c706d910f
set: Fixed the required sysver for setsysGetHomeMenuScheme.
2020-01-25 13:47:39 -05:00
fincs
04214ea441
romfs_dev: fix reading into buffers with device mappable attribute
2020-01-22 00:56:34 +01:00
yellows8
5a751ea0c3
Fixed definitions for ldrShellFlushArguments/ldrDmntFlushArguments and spl*GetServiceSession. Removed fsldrSetCurrentProcess from the .h. Closes #366 .
2020-01-21 16:09:28 -05:00
SciresM
e5c501e5b6
svc: Add all missing SVC stubs ( #364 )
2020-01-18 21:39:05 +01:00
HookedBehemoth
446aaf2a55
add capsa IAlbumAccessorSession and more capsa calls ( #363 )
...
* add capsa IAlbumAccessorSession
* add documentation for capsa and change parameter order and names for image loading
* add CapsLoadAlbumScreenShotImageOutput for caps:a
* add remaining LoadAlbumScreenShot- calls
* add more calls, add structs and add doc
* fix query and use count instead of size for listing
2020-01-16 19:29:28 -05:00
fincs
7e6ff7e486
Simplify appletGetAppletResourceUserId and related logic
2020-01-17 00:18:55 +01:00
yellows8
9c4ab7f09d
hid: Fixed cmd order.
2020-01-14 21:48:18 -05:00
yellows8
c8b8c7b0f0
hid: Added enum HidGyroscopeZeroDriftMode. Added hidSetGyroscopeZeroDriftMode, hidGetGyroscopeZeroDriftMode, and hidResetGyroscopeZeroDriftMode.
2020-01-14 21:45:04 -05:00
yellows8
583d6bb92d
hid: Fixed vibration, toggling vibration-enable off->on is no longer needed. Properly closes #148 .
2020-01-12 12:25:16 -05:00
yellows8
cbe9fae600
hid: Added hidSetSixAxisSensorFusionParameters, hidGetSixAxisSensorFusionParameters, and hidResetSixAxisSensorFusionParameters.
2020-01-11 22:37:07 -05:00
yellows8
f040706743
In _hidActivateConsoleSixAxisSensor, use cmd ActivateConsoleSixAxisSensor instead of ActivateSevenSixAxisSensor.
2020-01-09 18:42:06 -05:00
HookedBehemoth
f34de8fb54
added caps:a ( #358 )
...
* added caps:a
* change struct names
2020-01-09 15:32:34 -05:00
yellows8
1bb1aef2f7
Only init/exit apm from applet with AppletType_Application. Closes #360 .
2019-12-23 10:50:52 -05:00
yellows8
f043307e7f
In __libnx_init_time(), use 'NX' for the tzname instead of the actual timezone-name. Using the original tzname causes issues with certain timezones. Closes #353 .
2019-12-19 16:22:45 -05:00
yellows8
fb01dd8196
psel: Removed TODO comment.
2019-12-19 16:16:58 -05:00
ITotalJustice
0881fb9e0b
Add set:cal service with a few cal functions. ( #356 )
...
* Add set:cal service with a few functions
* Added more cal structs`
2019-12-16 16:20:00 -05:00
yellows8
d25bcc486a
Properly fixed __nx_applet_exit_mode handling, previously appletExit() called by _appletExitProcess didn't run since refcount was already 0. Closes #355 .
2019-12-14 11:52:40 -05:00
yellows8
15490b15f6
applet: Added support for using appletSetHandlingHomeButtonShortPressedEnabled with non-AppletType_OverlayApplet on [9.1.0+].
2019-12-08 16:45:47 -05:00
yellows8
6900a0241c
applet/time/set: Added TimeSteadyClockTimePoint. Updated appletSetDesirableKeyboardLayout/appletGetDesirableKeyboardLayout for using TimeSteadyClockTimePoint.
...
* Added SetSysUserSelectorFlag, SetSysEulaVersionClockType, SetSysNotificationVolume, SetSysFriendPresenceOverlayPermission, SetSysPrimaryAlbumStorage, SetSysHandheldSleepPlan, SetSysConsoleSleepPlan, SetSysErrorReportSharePermission, SetKeyboardLayout, and SetChineseTraditionalInputMethod.
* Added SetBatteryLot, SetSysUserSelectorSettings, SetSysAccountSettings, SetSysEulaVersion, SetSysNotificationTime, SetSysNotificationSettings, SetSysAccountNotificationSettings, SetSysTvSettings, SetSysDataDeletionSettings, SetSysSleepSettings, SetSysInitialLaunchSettings, and SetSysRebootlessSystemUpdateVersion.
* Added setsysSetLanguageCode, setsysGetAccountSettings/setsysSetAccountSettings, setsysGetEulaVersions/setsysSetEulaVersions, setsysGetNotificationSettings/setsysSetNotificationSettings, setsysGetAccountNotificationSettings/setsysSetAccountNotificationSettings, setsysGetTvSettings/setsysSetTvSettings, setsysGetDataDeletionSettings/setsysSetDataDeletionSettings, setsysGetWirelessCertificationFileSize/setsysGetWirelessCertificationFile, setsysSetRegionCode, setsysGetPrimaryAlbumStorage/setsysSetPrimaryAlbumStorage, setsysGetBatteryLot, setsysGetSleepSettings/setsysSetSleepSettings, setsysGetInitialLaunchSettings/setsysSetInitialLaunchSettings, setsysGetProductModel, setsysGetMiiAuthorId, setsysGetErrorReportSharePermission/setsysSetErrorReportSharePermission, setsysGetAppletLaunchFlags/setsysSetAppletLaunchFlags, setsysGetKeyboardLayout/setsysSetKeyboardLayout, setsysGetRebootlessSystemUpdateVersion, and setsysGetChineseTraditionalInputMethod/setsysSetChineseTraditionalInputMethod.
2019-12-06 21:13:43 -05:00
yellows8
c4bc7b24a0
Added type Uuid and use it where needed. Renamed the c field in NcmPlaceHolderId to uuid. Removed PACKED from WebWifiPageArg/WebWifiReturnValue.
2019-12-03 23:31:01 -05:00
SciresM
afe030f08b
rwlock: revamp completely ( #350 )
...
Implements rwlockTryReadLock and rwlockTryWriteLock.
Also implements rwlockIsWriteLockHeldByCurrentThread and
rwlockIsOwnedByCurrentThread.
Also re-designs RwLock to have semantics identical to
Nintendo's (nn::os::ReaderWriterLock). The upshot is mostly
that the lock is now fully recursive/write-preferring.
2019-12-03 23:16:40 +01:00
yellows8
bbcabee29f
psel: Number of improvements. Added PselUiMode_NintendoAccountAuthorizationRequestContext. Various naming adjustments. Implemented pselShowUserSelector properly, and added pselShowUserSelectorForSystem/pselShowUserSelectorForLauncher. Use accountIsUserRegistrationRequestPermitted and accountTrySelectUserWithoutInteraction. Added PselUserSelectionPurpose, PselNintendoAccountStartupDialogType, PselUserSelectionSettings, and PselUserSelectionSettingsForSystemService.
2019-12-03 13:34:27 -05:00
yellows8
42aa0800f7
account: Added accountIsUserRegistrationRequestPermitted and accountTrySelectUserWithoutInteraction.
2019-12-03 13:13:11 -05:00
yellows8
4078de1eff
psel: Various improvements, including proper version handling. Updated names. Renamed/added modes, with sysver docs. Don't use ptrs for input AccountUids. Added pselShowUserCreatorForStarter and pselShowNintendoAccountNnidLinker. Directly return the Result from PselUiReturnArg. Removed the output user param from pselShowUserCreator.
2019-12-01 18:34:50 -05:00
yellows8
5182b57a1d
fs/fs_dev: Added FsFileSystemQueryId_IsValidSignedSystemPartitionOnSdCard, fsFsIsValidSignedSystemPartitionOnSdCard, and fsdevIsValidSignedSystemPartitionOnSdCard. Improved docs.
2019-11-28 18:51:52 -05:00
yellows8
9f28d0002a
Added support for hidLa (controller libapplet).
2019-11-28 16:04:46 -05:00
yellows8
c9f6100e1c
hid: Added hidGetNpadJoyHoldType.
2019-11-28 15:01:42 -05:00
yellows8
8fe48e8eac
fs/fs_dev/romfs_dev: Updated various types to use s64. Removed the inval param from fsDirRead since it doesn't exist. Renamed fileSize in FsDirectoryEntry to file_size and updated the type. Renamed FsFileSystemQueryType to FsFileSystemQueryId, and renamed FsFileSystemQueryType_SetArchiveBit to FsFileSystemQueryId_SetConcatenationFileAttribute. Renamed fsFsSetArchiveBit to fsFsSetConcatenationFileAttribute. Renamed fsdevSetArchiveBit to fsdevSetConcatenationFileAttribute. Minor other changes.
2019-11-28 14:58:55 -05:00
XorTroll
3925e92828
Add psel (playerSelect) support ( #335 )
...
* Add psel (playerSelect) support
2019-11-27 12:50:34 -05:00
yellows8
d94be49cb3
Moved common includes for libapplets into a dedicated internal header + minor other changes.
2019-11-27 11:18:58 -05:00
The Dax
cd9f29fc8e
Add support for setting/getting the Internet time sync flag.
...
(IsUserSystemClockAutomaticCorrectionEnabled and SetUserSystemClockAutomaticCorrectionEnabled.)
2019-11-20 01:16:23 +01:00
yellows8
2b6197a51a
hid: Use _hidActivateConsoleSixAxisSensor instead of _hidActivateSevenSixAxisSensor, and moved the code using this to near the start of hidInitializeSevenSixAxisSensor.
2019-11-18 12:38:12 -05:00
yellows8
167bd9e110
hid: Use ActivateNpadWithRevision with the sysver-specific revision value in _hidActivateNpad(), on [5.0.0+].
2019-11-18 12:25:48 -05:00
yellows8
70ddae58ff
acc/nfc/nifm: Removed *SetServiceType and moved the service_type param into the actual {service}Initialize() funcs. Removed *ServiceType_NotInitialized and updated the *ServiceType enum values. Minor other changes / improved nifm docs.
2019-11-18 10:52:46 -05:00
yellows8
fcd7e36a9d
Added actual support for notif + improved docs.
2019-11-17 18:25:57 -05:00
yellows8
f181807215
fs/fs_dev: Updated names to match wiki. Updated param names. Renamed FS_SAVEDATA_CURRENT_PROGRAMID to FS_SAVEDATA_CURRENT_APPLICATIONID. Updated field names in FsSaveDataAttribute, FsSaveDataExtraData, FsSaveDataCreationInfo, and FsSaveDataInfo. Updated names for the enum values for FsSaveDataSpaceId, FsSaveDataType, FsSaveDataFlags, and FsGameCardAttribute. Added FsSaveDataSpaceId_SdUser and FsSaveDataSpaceId_SafeMode. Added FsSaveDataType_SystemBcat. Added FsSaveDataRank. Fixed the name for FsGameCardPartition and added FsGameCardPartition_Logo. Renamed FsBisStorageId to FsBisPartitionId, updated the enum value names for it, and added FsBisPartitionId_SignedSystemPartitionOnSafeMode. Improved docs / minor other changes.
2019-11-16 16:07:10 -05:00
yellows8
8216043ea1
applet: Fixed the prefix for *PushToFriendInvitationStorageChannel/*PushToNotificationStorageChannel. Added support for all [9.0.0+] IDebugFunctions cmds. Minor internal changes + improved docs.
2019-11-15 18:08:46 -05:00
yellows8
1e58385bd5
Added appletGetFriendInvitationStorageChannelEvent, appletTryPopFromFriendInvitationStorageChannel, appletGetNotificationStorageChannelEvent, and appletTryPopFromNotificationStorageChannel. Added appletPushToFriendInvitationStorageChannel/appletPushToNotificationStorageChannel. Added friendsGetFriendInvitationNotificationEvent/friendsTryPopFriendInvitationNotificationInfo. Added notif, for adding notifGetNotificationSystemEvent/notifTryPopNotifiedApplicationParameter.
2019-11-15 14:26:29 -05:00
fincs
83649c9768
Fix #346 - sessionmgrClose did not actually close the extra sessions
2019-11-14 17:35:35 +01:00
yellows8
dda6194d0b
Added appletIsForceTerminateApplicationDisabledForDebug. Updated docs.
2019-11-14 11:34:41 -05:00
yellows8
c0115edca1
Added appletSetHealthWarningShowingState and appletGetHealthWarningDisappearedSystemEvent.
2019-11-13 23:41:43 -05:00
yellows8
d24f1ca611
Added appletSetInputDetectionPolicy and AppletInputDetectionPolicy.
2019-11-13 20:53:40 -05:00
yellows8
297e9d97a0
Added appletGetSettingsPlatformRegion/appletSetHdcpAuthenticationActivated and improved docs.
2019-11-13 20:07:26 -05:00
yellows8
d88f67fe30
Added appletPushToAppletBoundChannel and appletTryPopFromAppletBoundChannel.
2019-11-13 18:25:34 -05:00
yellows8
8fc57a4795
Added support for using appletSetTerminateResult via IAppletCommonFunctions, and for using appletGetLaunchStorageInfoForDebug/appletGetGpuErrorDetectedSystemEvent with AppletType_LibraryApplet, on [9.0.0+]. Moved these to a new section in the .h/.c.
2019-11-13 17:52:56 -05:00
yellows8
689430e578
fs: Updated names to match wiki. FsSave->FsSaveDataAttribute, FsSaveCreate->FsSaveDataCreationInfo, and renamed the save field in FsSaveDataExtraData to attr. Updated names for enum values in: FsContentStorageId, FsCustomStorageId, and FsSaveDataSpaceId. Added FsSaveDataSpaceId_ProperSystem and FsFileSystemType_RegisteredUpdate. Various improvements and improved docs.
2019-11-13 14:34:49 -05:00
yellows8
c40f8ecac6
Removed includes which are unneeded due to being included elsewhere, etc. Minor improvements.
2019-11-12 12:45:58 -05:00
yellows8
67eacc8034
Added support for the [9.0.0+] friendsLa functionality. Added AccountNetworkServiceAccountId (and updated friendsLa for this). Added FriendsFriendInvitationGameModeDescription, FriendsFriendInvitationId, and FriendsFriendInvitationGroupId.
2019-11-12 10:24:27 -05:00
yellows8
9888df18da
Moved most ncm types into ncm_types.h. Renamed FsStorageId to NcmStorageId, with updated names for some values (now located in ncm_types.h). Various improvements + improved docs.
2019-11-11 18:19:45 -05:00
yellows8
ce570a70f1
romfs_dev: Replaced the romFS_dir()/romFS_file() macros with funcs which have actual bounds-checking, this fixes crashes/hangs when the romfs tables are corrupted. Updated relevant code to handle this / various improvements, and return ENOENT instead of EEXIST where required.
2019-11-11 11:07:46 -05:00
yellows8
cc64ec7236
Added NsReceiveApplicationProgress/NsSendApplicationProgress, updated NsApplicationDeliveryInfo, and improved docs. Added the following: nsSelectLatestSystemDeliveryInfo, nsVerifyDeliveryProtocolVersion, nsHasAllContentsToDeliver, nsCompareApplicationDeliveryInfo, nsCanDeliverApplication, nsListContentMetaKeyToDeliverApplication, nsNeedsSystemUpdateToDeliverApplication, nsEstimateRequiredSize, nsRequestReceiveApplication, nsCommitReceiveApplication, nsGetReceiveApplicationProgress, nsRequestSendApplication, nsGetSendApplicationProgress, nsCompareSystemDeliveryInfo, nsListNotCommittedContentMeta, and nsGetApplicationDeliveryInfoHash.
2019-11-09 21:13:23 -05:00
yellows8
24f77642c9
Updated the NsSystemDeliveryInfo struct. Added nsGetApplicationDeliveryInfo and NsApplicationDeliveryInfo.
2019-11-08 16:11:05 -05:00
cathery
d4c5fbdf0f
hiddbg: Add hiddbgIsHdlsVirtualDeviceAttached ( #345 )
2019-11-07 19:27:13 +01:00
yellows8
09423066b0
Updated the type for the size param for ncmContentStorageCreatePlaceHolder.
2019-11-03 22:04:52 -05:00
yellows8
6c7ad3095c
Added setsysGetPctlReadyFlag/setsysSetPctlReadyFlag. Fixed ordering.
2019-11-03 16:39:29 -05:00
yellows8
454244602c
Added setsysGetTouchScreenMode/setsysSetTouchScreenMode and SetSysTouchScreenMode. Minor adjustment.
2019-11-02 16:32:12 -04:00
yellows8
8ee7afca99
Added setsysGetMemoryUsageRateFlag.
2019-11-02 16:08:08 -04:00
yellows8
e5dd8a741d
Added setsysGetHomeMenuScheme and setsysGetHomeMenuSchemeModel. Added SetSysHomeMenuScheme. Minor adjustment.
2019-11-02 15:29:38 -04:00
yellows8
e6d687990c
Added setsysGetPlatformRegion/setsysSetPlatformRegion and SetSysPlatformRegion.
2019-11-01 22:57:29 -04:00
yellows8
df4bbcf2d7
Use const for various hid vibration funcs.
2019-11-01 19:11:18 -04:00
yellows8
e2b9b09b61
Added hidIsVibrationDeviceMounted.
2019-11-01 19:04:14 -04:00
yellows8
fa27331045
Initialize time by using TimeServiceType/__nx_time_service_type, with the default now being User.
2019-11-01 13:20:55 -04:00
yellows8
1f792cd92f
Various improvements/fixes and improved docs. Added nvGetServiceSession. Return an actual error when the value for determing which service to init is invalid, for services which use *ServiceType/AppletType. Improved cleanup handling. Fixed inverted logic in the spl cleanup define.
2019-10-31 22:53:42 -04:00