Commit Graph

  • 0fb0f67d2e hidGetControllerConnected -> hidIsControllerConnected yellows8 2018-10-22 12:20:28 -04:00
  • 0370140c12 Added hidGetControllerConnected() and updated CONTROLLER_P1_AUTO comment. yellows8 2018-10-22 12:13:41 -04:00
  • a62e29d5cf Added support for applet video-recording, currently not usable. In appletExit, only call appletSetFocusHandlingMode when g_appletExitProcessFlag is zero, so that it isn't called twice during proc-exit. yellows8 2018-10-21 22:23:16 -04:00
  • cfbc3e9278 Added usbCommsSetErrorHandling, don't throw fatalSimple for usbComms by default. yellows8 2018-10-19 12:34:17 -04:00
  • 493d433ac2 netinet: fix missing declarations (#187) Cpasjuste 2018-10-19 17:15:24 +02:00
  • 319cc578ca Fixed swapped params for memalign in jitCreate(). yellows8 2018-10-17 14:47:14 -04:00
  • 8e1736c480 Add RandomSeed (14) homebrew ABI key and related handling fincs 2018-10-17 17:17:05 +02:00
  • 6a9d194fe3 Added hidGetControllerColors and HidControllerColors. Changed rightColorbuttons to rightColorButtons in HidControllerHeader. Updated CONTROLLER_P1_AUTO comment. yellows8 2018-10-16 22:45:44 -04:00
  • 052fb34397 Reduce usage of malloc in select and poll. Fix poll not acceping -1 fds TuxSH 2018-09-21 13:54:41 +02:00
  • fba43b0f10 nvBufferCreate: use separate is_cpu_cacheable/is_gpu_cacheable parameters fincs 2018-10-17 00:32:47 +02:00
  • 86a25e1edd Make fsp-ldr use domains Michael Scire 2018-10-15 06:08:39 -07:00
  • d67ae02bc5 Add domain support to fsp-srv Michael Scire 2018-10-15 06:02:13 -07:00
  • 40e0bf4db7 Refactor service IPC to support domains. Michael Scire 2018-10-15 06:02:04 -07:00
  • cde495241c Added _hidActivateNpad/_hidDeactivateNpad for internal use in hidInitialize/hidExit. Added hidSetNpadJoyHoldType. Added _hidCmdWithInputU64 and _hidCmdWithNoInput. yellows8 2018-10-15 12:10:07 -04:00
  • d4277b6d32 Added hidSetSupportedNpadIdType(), which is automatically called during init. Closes #148, however vibration disable+enable in system-settings is still needed. yellows8 2018-10-14 21:39:52 -04:00
  • 57ad3cc1d2 Clarified comments for appletLockExit. yellows8 2018-10-14 16:05:24 -04:00
  • 52686826d1 Added fsdevGetDeviceFileSystem(). yellows8 2018-10-12 22:13:14 -04:00
  • c1b4b95bd7 Updated wiki URLs. yellows8 2018-10-11 21:44:51 -04:00
  • 42d3c32b37 Use FatalType_ErrorReportAndErrorScreen instead of FatalType_ErrorScreen, on pre-3.0.0. FatalType_ErrorScreen is only available with 3.0.0+, this fixes a regression where using fatalSimple on pre-3.0.0 caused a system hang. yellows8 2018-10-11 15:41:05 -04:00
  • 347e3b3156 Refactor usb:ds, add 5.0.0+ support to usbComms. (#181) SciresM 2018-10-12 04:35:22 +09:00
  • 25052190d2 Added comment regarding PlSharedFontType_NintendoExt. yellows8 2018-10-09 11:25:25 -04:00
  • 74ebf370dd add an exit request hook type, allow to delay exit (#183) Samuel P 2018-10-09 17:04:33 +02:00
  • 8178c0fa45 _socketDeserializeHostent: fix usage of uninitialized h_name Thog 2018-10-07 15:26:08 +02:00
  • 420d5d4e61 C11 thread support: address standard compilance issues fincs 2018-10-06 22:00:31 +02:00
  • 1563df3921 Refactor console device, see details: fincs 2018-09-24 19:59:27 +02:00
  • cc70f19e61 nvservices: increase default tmem size to 8MB fincs 2018-10-06 16:47:53 +02:00
  • 20204e3c48 NvFence: fix regression on 1.x fincs 2018-10-06 16:47:25 +02:00
  • 4fb364060c Added support for timezones, hence localtime() will now return actual localtime. Added timeToCalendarTimeWithMyRule and TimeCalendarTime/TimeCalendarAdditionalInfo, which are used for timezones support. yellows8 2018-10-05 19:47:49 -04:00
  • dc011024f9 Call appletSetFocusHandlingMode in appletExit for AppletType_Application. yellows8 2018-10-04 22:19:58 -04:00
  • 6d2699b38d Added pmshellGetApplicationPid(). yellows8 2018-10-04 18:44:45 -04:00
  • 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. yellows8 2018-10-04 18:06:00 -04:00
  • 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. yellows8 2018-10-03 20:55:58 -04:00
  • 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. yellows8 2018-10-03 19:47:56 -04:00
  • 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. yellows8 2018-10-03 19:04:48 -04:00
  • beef09a27e Removed appletSelfExit and replaced it with the previously disabled _appletSelfExit, now renamed to appletSelfExit. yellows8 2018-10-01 18:35:49 -04:00
  • 7a952ab39b hid: Uncomment function that works now Vicki Pfau 2018-09-28 19:48:49 -07:00
  • 8add42378b hid: Add SixAxis sensor support Vicki Pfau 2018-09-27 17:31:50 -07:00
  • 68b2ad0c1e hid: Call SetSupportedNpadStyleSet to enable additional Npad features Vicki Pfau 2018-09-27 12:14:48 -07:00
  • eb11e25dc5 Add Module_HomebrewAbi/Loader. Reassign Module_LibnxBinder, as it inadvertently collided with Module_HomebrewLoader. fincs 2018-09-27 21:00:47 +02:00
  • 1cc3547990 Removed TODO comment in _hidGetDeviceHandles(). yellows8 2018-09-27 12:01:58 -04:00
  • 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. yellows8 2018-09-26 22:28:40 -04:00
  • 3bd7ca5f7e Reword ProcessState enum fields TuxSH 2018-09-21 00:43:10 +02:00
  • 67886bb3df nvGpuClose: correct order of operations fincs 2018-09-26 21:08:30 +02:00
  • 1c948e2d32 applet: Add appletSelfExit() leo60228 2018-09-18 16:07:58 -04:00
  • 00b12b93fb Release v1.4.1 v1.4.1 fincs 2018-09-18 17:56:11 +02:00
  • 00287b6a69 Fix pm:dmnt for 5.0.0+ plutooo 2018-09-18 09:38:17 +02:00
  • 3ecd841ec2 Update svcGetDebugThreadContext, add svcSetDebugThreadContext, implement threadDumpContext TuxSH 2018-09-16 03:10:05 +02:00
  • 5498d3e0c7 Add ThreadContext, RegisterGroup, svcGetThreadContext3, threadDumpContext TuxSH 2018-09-16 00:53:24 +02:00
  • d9e3be27a2 Add psm:GetChargerType Vicki Pfau 2018-09-15 11:38:41 -07:00
  • a06bfb74a7 kernel/random: Avoid casting away const in the U8TO32_LITTLE macro Lioncash 2018-09-17 19:00:42 -04:00
  • 4645ef7004 gfx: Add gfxAppendFence. Remove obsolete comments related to double buffering. fincs 2018-09-16 16:37:31 +02:00
  • a50942509f NvGpfifo: Redesign API to allow for submitting multiple entries at once fincs 2018-09-16 16:35:57 +02:00
  • 91fb381461 CI: remove switch-examples from build fincs 2018-09-15 21:04:58 +02:00
  • 4a13ee3e62 Fix function name to not cause linker problems due to symbol truncation issues plutooo 2018-09-15 08:42:32 +02:00
  • 7279ef0415 Fix signature of svcContinueDebugEvent for firmware 3.0.0 and forward plutooo 2018-09-15 08:14:09 +02:00
  • f2c959b941 Fix compilation error on pre-14 C++ plutooo 2018-09-15 08:11:31 +02:00
  • 9ff32e3260 Resolve trivial -Wmissing-prototypes warnings Lioncash 2018-09-14 12:34:11 -04:00
  • e7ae7ea846 nv wrappers: Handle cacheability settings properly, more details: fincs 2018-09-14 18:09:58 +02:00
  • f469fa7458 Add nvioctlChannel_KickoffPb (uses Ioctl2) fincs 2018-09-14 02:15:55 +02:00
  • cae1954ebc nv: add cloned session handle used with certain requests; add Ioctl2 fincs 2018-09-14 02:15:24 +02:00
  • ad17cb74c7 kernel/ipc.h: add ipcCloneSession fincs 2018-09-14 01:35:24 +02:00
  • 1cbc67e650 NvBuffer: actually unmap and free the buffer in nvBufferFree fincs 2018-09-13 20:05:55 +02:00
  • 23fa46a8ee Release v1.4.0 v1.4.0 fincs 2018-09-09 19:59:06 +02:00
  • dcdb5c28a4 Fix fsOpenFileSystem (#153) Rajko Stojadinovic 2018-09-09 19:56:38 +02:00
  • 122fec028c Added nsListApplicationRecord and nsListContentMetaStatus (#163) Random 2018-09-09 19:56:16 +02:00
  • 20a39ef86c Add appletBeginBlockingHomeButton() and appletEndBlockingHomeButton() (#165) neonsea 2018-09-09 20:55:53 +03:00
  • cd813ddb60 Add psm service and psmGetBatteryChargePercentage function (fixed) (#166) XorTroll 2018-09-09 19:55:36 +02:00
  • 6ef26bff1a Implement kernelAbove600() Michael Scire 2018-09-09 06:52:50 -07:00
  • 81d56a9e23 console: disable forced flush/swap/vblank due to performance reasons fincs 2018-09-08 14:19:24 +02:00
  • 52c0cee10c Add nvioctlChannel_SetTimeout & nvChannelSetTimeout fincs 2018-09-08 14:17:54 +02:00
  • de664c5655 error_notifier.h: Add missing functions to header fincs 2018-09-08 14:17:27 +02:00
  • 999edaa8b2 Changes to NvCmdList and NvGpfifo, see details: fincs 2018-09-07 17:27:15 +02:00
  • 7f4001bec2 Potentially fix race condition nvGpfifoCreate by waiting on the fence returned by nvioctlChannel_AllocGpfifoEx2 fincs 2018-09-05 14:00:28 +02:00
  • d718a8dd28 NvBufferFlags_Nintendo doesn't exist, it's a misreading of the alignment parameter fincs 2018-09-05 13:59:50 +02:00
  • e3a7187973 gfx: Remove gfxSetDrawFlip. Make 0 the default transform instead of FLIP_V. fincs 2018-08-31 20:14:50 +02:00
  • 0d1b8bd723 BqQueueBufferInput: add swapInterval field (purpose currently unknown) fincs 2018-08-31 20:11:53 +02:00
  • 651dd72ac1 Add bqCancelBuffer and use it in gfx.c fincs 2018-08-31 14:14:54 +02:00
  • c8ebe8a3b5 buffer_producer: convert Binder error codes to Result values fincs 2018-08-31 14:00:37 +02:00
  • a62fae427b Introduce Module_LibnxBinder result codes (based on Android status_t) and binderConvertErrorCode fincs 2018-08-31 13:58:12 +02:00
  • 819a6f0d89 display/binder.h: refactoring and other changes: fincs 2018-08-31 12:59:10 +02:00
  • 60cbb68f46 gfx: use new NvFence waiting code fincs 2018-08-30 00:53:47 +02:00
  • a70acdd445 Implement nvFence fincs 2018-08-30 00:52:56 +02:00
  • 57e1f5f4cb nvioctlNvhostCtrl: add EventWaitAsync, EventUnregister; fix EventRegister fincs 2018-08-30 00:49:54 +02:00
  • 99f37184fb nvQueryEvent: return an Event instead of a raw Handle fincs 2018-08-30 00:48:17 +02:00
  • 7f8b6af64c runtime/newlib.c: use armGetSystemTick instead of svcGetSystemTick fincs 2018-08-29 22:09:24 +02:00
  • b26bb6ce76 viGetDisplayVsyncEvent: return an Event instead of a raw handle fincs 2018-08-29 22:09:06 +02:00
  • 88e9d3bb83 kernel/event.h: several fixes, including autoclear support fincs 2018-08-29 22:08:09 +02:00
  • f2f59c75c0 display/gfx.h & buffer_producer.h: Start major refactor, highly WIP fincs 2018-08-29 00:55:09 +02:00
  • 10684e205a nvidia/fence.h: sketching on NvFence/NvMultiFence {not implemented} fincs 2018-08-29 00:51:24 +02:00
  • 30e2ca8ec3 Introduce nvidia/types.h & move NvBufferKind to it (renamed to NvKind) fincs 2018-08-28 14:17:41 +02:00
  • 27f5aecea8 nvgfx: Strip down to bare minimum - remove unused logic fincs 2018-08-28 13:16:27 +02:00
  • ace0dea08b Move Android types to display/types.h; add PIXEL_FORMAT/GRALLOC_USAGE enums fincs 2018-08-28 12:55:35 +02:00
  • 4e7159ce02 VI service: major revamp, see details: fincs 2018-08-26 22:46:34 +02:00
  • 180cd9b550 display/parcel.h: publish ParcelHeader struct fincs 2018-08-26 22:36:03 +02:00
  • a0b3d3e193 source/nvidia/: do NOT include <switch.h> fincs 2018-08-11 13:10:17 +02:00
  • e234129598 gfx: Add a buffer index to gfxGetFramebufferHandle(). Jules Blok 2018-06-25 15:26:45 +02:00
  • 4f331eb9f7 gfx: Add function to query framebuffer pitch. Jules Blok 2018-06-19 23:04:04 +02:00
  • 06e50f74ab gfx: Add a call to get the framebuffer nvmap handle. Jules Blok 2018-06-13 16:53:50 +02:00
  • d93c45a18d gpfifo: Reset the command buffer after submission. Jules Blok 2018-06-12 13:41:46 +02:00
  • 9ce884f29e cmd_list: The number of entries is the number of ints. Jules Blok 2018-06-12 13:41:18 +02:00