fincs
20204e3c48
NvFence: fix regression on 1.x
2018-10-06 16:47:25 +02:00
yellows8
4fb364060c
Added support for timezones, hence localtime() will now return actual localtime. Added timeToCalendarTimeWithMyRule and TimeCalendarTime/TimeCalendarAdditionalInfo, which are used for timezones support.
2018-10-05 19:59:24 -04:00
yellows8
dc011024f9
Call appletSetFocusHandlingMode in appletExit for AppletType_Application.
2018-10-04 22:19:58 -04:00
yellows8
6d2699b38d
Added pmshellGetApplicationPid().
2018-10-04 18:44:45 -04:00
yellows8
b4859873ec
Added env AppletFlags handling. Don't enter the msg-loop for AppletType_Application when the output from _appletGetCurrentFocusState is already 1. This fixes the hang issue with AppletType_Application where applet init with AppletType_Application was previously done. Moved AppletType_*Application checks into a dedicated function which also checks for AppletType_SystemApplication, hence some of these funcs which didn't check for AppletType_SystemApplication now support it.
2018-10-04 18:06:00 -04:00
yellows8
96dce1a8b6
In __libnx_gtod set errno to EIO instead of EINVAL when __boottime is invalid due to timeGetCurrentTime() failing during time init, and added this to __libnx_clock_gettime. Set errno to ENOSYS in __libnx_clock_settime.
2018-10-03 20:55:58 -04:00
yellows8
0b1b7039ca
Changed the value of TimeType_Default to TimeType_UserSystemClock. When timeGetCurrentTime fails where __nx_time_type isn't TimeType_Default, call it again with TimeType_Default.
2018-10-03 19:48:33 -04:00
yellows8
16bbf3411e
Added automatic process exit handling with applet cmds, see __nx_applet_exit_mode. appletSelfExit is no longer user-accessible, see __nx_applet_exit_mode instead. Added envSetExitFuncPtr. Added disabled _appletSetTerminateResult func.
2018-10-03 19:04:48 -04:00
yellows8
beef09a27e
Removed appletSelfExit and replaced it with the previously disabled _appletSelfExit, now renamed to appletSelfExit.
2018-10-01 18:35:49 -04:00
Vicki Pfau
7a952ab39b
hid: Uncomment function that works now
2018-09-30 16:39:51 -04:00
Vicki Pfau
8add42378b
hid: Add SixAxis sensor support
2018-09-30 16:39:51 -04:00
Vicki Pfau
68b2ad0c1e
hid: Call SetSupportedNpadStyleSet to enable additional Npad features
2018-09-27 16:23:37 -04:00
fincs
eb11e25dc5
Add Module_HomebrewAbi/Loader. Reassign Module_LibnxBinder, as it inadvertently collided with Module_HomebrewLoader.
2018-09-27 21:03:29 +02:00
yellows8
1cc3547990
Removed TODO comment in _hidGetDeviceHandles().
2018-09-27 12:01:58 -04:00
yellows8
1267019d83
Added partial support for hid SixAxisSensor. Moved some hid ipc code into a single func for using cmds with an input u32. Moved handle-generation code from hidInitializeVibrationDevices into a new func, with some improvements + support for SixAxisSensor.
2018-09-26 22:28:40 -04:00
TuxSH
3bd7ca5f7e
Reword ProcessState enum fields
2018-09-26 21:11:02 +02:00
fincs
67886bb3df
nvGpuClose: correct order of operations
2018-09-26 21:08:30 +02:00
leo60228
1c948e2d32
applet: Add appletSelfExit()
2018-09-21 15:55:06 -04:00
fincs
00b12b93fb
Release v1.4.1
2018-09-18 17:56:11 +02:00
plutooo
00287b6a69
Fix pm:dmnt for 5.0.0+
2018-09-18 09:38:17 +02:00
TuxSH
3ecd841ec2
Update svcGetDebugThreadContext, add svcSetDebugThreadContext, implement threadDumpContext
2018-09-18 01:13:55 +02:00
TuxSH
5498d3e0c7
Add ThreadContext, RegisterGroup, svcGetThreadContext3, threadDumpContext
2018-09-18 01:13:55 +02:00
Vicki Pfau
d9e3be27a2
Add psm:GetChargerType
2018-09-18 01:13:24 +02:00
Lioncash
a06bfb74a7
kernel/random: Avoid casting away const in the U8TO32_LITTLE macro
...
This macro is only ever used with const input data within chachaInit(),
which causes -Wcast-qual warnings. This is trivial enough to fix, by
preserving the qualifier within the cast.
2018-09-18 01:13:04 +02:00
fincs
4645ef7004
gfx: Add gfxAppendFence. Remove obsolete comments related to double buffering.
2018-09-16 18:03:35 +02:00
fincs
a50942509f
NvGpfifo: Redesign API to allow for submitting multiple entries at once
2018-09-16 16:35:57 +02:00
fincs
91fb381461
CI: remove switch-examples from build
2018-09-15 21:04:58 +02:00
plutooo
4a13ee3e62
Fix function name to not cause linker problems due to symbol truncation issues
2018-09-15 08:42:32 +02:00
plutooo
7279ef0415
Fix signature of svcContinueDebugEvent for firmware 3.0.0 and forward
2018-09-15 08:14:09 +02:00
plutooo
f2c959b941
Fix compilation error on pre-14 C++
2018-09-15 08:11:31 +02:00
Lioncash
9ff32e3260
Resolve trivial -Wmissing-prototypes warnings
...
Gets rid of trivial warnings caused by headers not being included into
the relevant .c file, empty parameter lists missing void, or functions
missing a prototype in the header.
2018-09-14 19:07:34 +02:00
fincs
e7ae7ea846
nv wrappers: Handle cacheability settings properly, more details:
...
- nvAddressSpaceMapBuffer now accepts a flags parameter instead of
hardcoding NvMapBufferFlags_IsCacheable.
- NvBufferFlags was incorrect and was thus removed.
- nvBufferCreate/nvBufferCreateRw replaced with nvBufferCreate, with
an extra 'is_cacheable' bool parameter. There's no such thing as a
"read-only/read-write" buffer.
- nvBufferMakeCpuUncached/nvBufferMakeCpuCached were removed.
2018-09-14 18:09:58 +02:00
fincs
f469fa7458
Add nvioctlChannel_KickoffPb (uses Ioctl2)
2018-09-14 02:15:55 +02:00
fincs
cae1954ebc
nv: add cloned session handle used with certain requests; add Ioctl2
2018-09-14 02:15:24 +02:00
fincs
ad17cb74c7
kernel/ipc.h: add ipcCloneSession
2018-09-14 01:35:24 +02:00
fincs
1cbc67e650
NvBuffer: actually unmap and free the buffer in nvBufferFree
2018-09-13 20:05:55 +02:00
fincs
23fa46a8ee
Release v1.4.0
2018-09-09 20:00:55 +02:00
Rajko Stojadinovic
dcdb5c28a4
Fix fsOpenFileSystem ( #153 )
...
* Fix fsOpenFileSystem
* Make fsOpenFileSystem and fsOpenFileSystemWithId work on all firmware versions
* Add some comments for fsOpenFileSystem(WithId)
2018-09-09 19:56:38 +02:00
Random
122fec028c
Added nsListApplicationRecord and nsListContentMetaStatus ( #163 )
2018-09-09 19:56:16 +02:00
neonsea
20a39ef86c
Add appletBeginBlockingHomeButton() and appletEndBlockingHomeButton() ( #165 )
2018-09-09 19:55:53 +02:00
XorTroll
cd813ddb60
Add psm service and psmGetBatteryChargePercentage function (fixed) ( #166 )
2018-09-09 19:55:36 +02:00
Michael Scire
6ef26bff1a
Implement kernelAbove600()
2018-09-09 19:55:12 +02:00
fincs
81d56a9e23
console: disable forced flush/swap/vblank due to performance reasons
2018-09-08 14:19:24 +02:00
fincs
52c0cee10c
Add nvioctlChannel_SetTimeout & nvChannelSetTimeout
2018-09-08 14:17:54 +02:00
fincs
de664c5655
error_notifier.h: Add missing functions to header
2018-09-08 14:17:27 +02:00
fincs
999edaa8b2
Changes to NvCmdList and NvGpfifo, see details:
...
- NvCmdList:
- Added 'offset' parameter: start of the cmdlist within the buffer
- Added nvCmdListReset for resetting a cmdlist (offset/num_cmds cleared)
- NvGpfifo:
- nvGpfifoCreate: disabled fence wait
- nvGpfifoSubmit -> nvGpfifoSubmitCmdList:
- Added fence_incr parameter
- Cleaned up flags and gpfifo entry creation
- Now advances cmdlist offset by the number of cmds submitted
instead of going back to the beginning
2018-09-07 17:27:15 +02:00
fincs
7f4001bec2
Potentially fix race condition nvGpfifoCreate by waiting on the fence returned by nvioctlChannel_AllocGpfifoEx2
2018-09-05 14:00:28 +02:00
fincs
d718a8dd28
NvBufferFlags_Nintendo doesn't exist, it's a misreading of the alignment parameter
2018-09-05 13:59:50 +02:00
fincs
e3a7187973
gfx: Remove gfxSetDrawFlip. Make 0 the default transform instead of FLIP_V.
2018-08-31 20:14:50 +02:00
fincs
0d1b8bd723
BqQueueBufferInput: add swapInterval field (purpose currently unknown)
2018-08-31 20:11:53 +02:00