Commit Graph

  • dbbcaf2397 Merge remote-tracking branch 'origin/master' into for-atmosphere for-atmosphere Luke Street 2018-12-05 20:20:54 -05:00
  • 5cf4aa64cf Merge remote-tracking branch 'atmosphere/for-atmosphere' into for-atmosphere Luke Street 2018-12-05 20:20:48 -05:00
  • 5f51188d14 Update svcSleepThread definition svcSleepThread_ret Luke Street 2018-12-04 03:16:51 -05:00
  • bc2dff0361 Added hidAcquireNpadStyleSetUpdateEventHandle. yellows8 2018-12-02 16:48:59 -05:00
  • 2a831c6196 Fix struct definition for splSetConfig Michael Scire 2018-12-01 11:18:13 -08:00
  • b7b64858a6 Added usb_standard_request from libusb. yellows8 2018-11-30 18:57:08 -05:00
  • e986799784 Updated usbhs comments and added usbHsIfIsActive/usbHsIfGetID. yellows8 2018-11-30 13:07:02 -05:00
  • ee066a27ee Implemented usbhs endpoints, other adjustments. Updated field name in UsbHsXferReport. Added defines in usb.h from libusb. yellows8 2018-11-30 01:57:36 -05:00
  • 31cea3a6b6 Implemented usbhs control transfers. Fixed eventCtrlXfer init. Updated a field name in UsbHsXferReport. yellows8 2018-11-29 23:28:19 -05:00
  • 2049ff081d Updated usbhs comments and store the interface ID in UsbHsClientIfSession. Added: usbHsIfSetInterface, usbHsIfGetInterface, usbHsIfGetAlternateInterface, usbHsIfGetCurrentFrame, and usbHsIfResetDevice. yellows8 2018-11-29 21:15:29 -05:00
  • 83dfc58adb Moved interface-specific data from UsbHsInterface into UsbHsInterfaceInfo. Added usbHsAcquireUsbIf/usbHsIfClose and the related structs. yellows8 2018-11-29 19:19:27 -05:00
  • f1ba199d1c Initial usbhs support. yellows8 2018-11-29 17:36:31 -05:00
  • ba68e198db Use PACKED for usb_endpoint_descriptor and usb_config_descriptor. yellows8 2018-11-29 17:25:46 -05:00
  • b2bee550ff Improve documentation of hidMergeSingleJoyAsDualJoy rsn8887 2018-11-29 09:54:16 -06:00
  • f373b3ca23 Added usbds.h to switch.h. yellows8 2018-11-28 21:56:34 -05:00
  • 725ac9f00a Moved usb code specific to usbds into seperate .c/.h. yellows8 2018-11-28 17:34:53 -05:00
  • 528b17c9b5 Added usb_config_descriptor in usb.h. yellows8 2018-11-28 17:11:11 -05:00
  • 3726eb8950 Use PACKED for _usbDsGetSession resp, required for domains. Use domains for usbds, with changes from @SciresM. yellows8 2018-11-28 16:40:45 -05:00
  • 68846af044 Removed alignment for object_ids in ipcParseDomainResponse, since official sw doesn't have this. yellows8 2018-11-28 16:37:33 -05:00
  • 7ae659c2cb Handle the output u8 in _usbDsGetSession, without using it in the callers. yellows8 2018-11-28 15:03:06 -05:00
  • 07cd134d24 Release v1.6.0 fincs 2018-11-28 02:09:20 +01:00
  • 3b13043c4c Merge remote-tracking branch 'atmosphere/ams_fatal_gpu_merge' into for-atmosphere Luke Street 2018-11-26 19:50:14 -05:00
  • 36bed9f8fc Added support for getting file timestamps via 3.0.0+ fsFsGetFileTimeStampRaw, *stat() timestamps are now set when fsFsGetFileTimeStampRaw is successful. This is now used in fsdev_open() for supporting fstat. The sysver is now checked in fsFsCleanDirectoryRecursively(). Closes #204. yellows8 2018-11-20 14:22:19 -05:00
  • a7577f7b56 Add pcvSetVoltageEnabled and pcvGetVoltageEnabled (#208) pixel-stuck 2018-11-19 10:37:59 -05:00
  • 8767ea798b Determine whether to use AUDREN_REVISION_1-4 via the sysver, instead of hard-coding it for the 3.0+ rev. Updated comments and added AUDREN_REVISION_5/AUDREN_REVISION_6 defines. yellows8 2018-11-17 11:43:24 -05:00
  • e7117a7903 Added enum for hidSetNpadJoyHoldType. Improved hid docs. Use hidSetNpadJoyHoldType during hid init/exit. Closes #206. yellows8 2018-11-15 21:34:08 -05:00
  • 33364a8271 support SL/SR buttons on right JoyCons rsn8887 2018-11-15 17:06:27 -06:00
  • 12ee6e502e Fixed register corruption in crt0 introduced by the exception commit. Only handle exceptions when __libnx_exception_handler is defined by the user, and updated comments. yellows8 2018-11-14 20:55:17 -05:00
  • 4e4d5ef320 fatal: Implement fatalWithContext Michael Scire 2018-11-13 20:24:06 -08:00
  • e943eb6ea5 Add fs gamecard attribute retrieve commands Michael Scire 2018-11-10 13:31:35 -08:00
  • 4581e597c0 Add SetSysFlag_RequiresRunRepairTimeReviser Michael Scire 2018-11-10 13:11:40 -08:00
  • 8bef0e6298 Add GpioPadName_ButtonVol[UpDown] Michael Scire 2018-11-10 13:09:01 -08:00
  • 7b7bd9dd9d Add setsys fatal commands Michael Scire 2018-11-10 12:26:49 -08:00
  • 5386edef4f Add gpio wrapper Michael Scire 2018-11-10 04:01:34 -08:00
  • dec6f1ffe1 Add i2cOpenSession, i2csessionSendAuto Michael Scire 2018-11-10 03:50:59 -08:00
  • 3ba8a5aa87 Add lblSwitchBacklightOn and lblSwitchBacklightOff Michael Scire 2018-11-10 03:15:50 -08:00
  • 8cb9004a2f Add pcvGetClockRate/pcvSetClockRate Michael Scire 2018-11-10 03:04:10 -08:00
  • 27936900d0 Add enum for PsmBatteryVoltageState Michael Scire 2018-11-10 02:31:11 -08:00
  • 94dc8f75f9 Add bpcGetSleepButtonState Michael Scire 2018-11-10 01:31:57 -08:00
  • ee55b63f79 Add spsm wrapper. Michael Scire 2018-11-10 01:31:47 -08:00
  • 5e69f760fb Added support for exception-handling. yellows8 2018-11-14 16:17:02 -05:00
  • 31a2ee0b61 Implement fatalWithContext Michael Scire 2018-11-13 19:44:18 -08:00
  • c6e8e05fe9 Add vi wrappers for system StrayLayer usage. Michael Scire 2018-11-12 22:32:22 -08:00
  • 51db6b431b Fix eof newlines, make GameCardHandle* const Michael Scire 2018-11-10 13:46:39 -08:00
  • bffdce1b8c Fix GameCardHandle semantics Michael Scire 2018-11-10 13:35:55 -08:00
  • 0f1d3fb306 Add fs gamecard attribute retrieve commands Michael Scire 2018-11-10 13:31:35 -08:00
  • dfc9f02aa2 Add SetSysFlag_RequiresRunRepairTimeReviser Michael Scire 2018-11-10 13:11:40 -08:00
  • 4eb37e90b1 Add GpioPadName_ButtonVol[UpDown] Michael Scire 2018-11-10 13:09:01 -08:00
  • d3c48feb17 Add setsys fatal commands Michael Scire 2018-11-10 12:26:49 -08:00
  • ce598494a6 Add gpio wrapper Michael Scire 2018-11-10 04:01:34 -08:00
  • 2fe59b213c Add i2cOpenSession, i2csessionSendAuto Michael Scire 2018-11-10 03:50:59 -08:00
  • a6b669d531 Add lblSwitchBacklightOn and lblSwitchBacklightOff Michael Scire 2018-11-10 03:15:50 -08:00
  • 907e306f5f Add pcvGetClockRate/pcvSetClockRate Michael Scire 2018-11-10 03:04:10 -08:00
  • 8e9bb27fc6 Add enum for PsmBatteryVoltageState Michael Scire 2018-11-10 02:31:11 -08:00
  • dc8f3e0932 Add bpcGetSleepButtonState Michael Scire 2018-11-10 01:31:57 -08:00
  • bc5f49524d Add spsm wrapper. Michael Scire 2018-11-10 01:31:47 -08:00
  • c4a3e7f9a1 fs: Add fsFsQueryEntry (and fsFsSetArchiveBit helper) (#202) SciresM 2018-11-09 19:03:47 -08:00
  • f68630bd6a Expose appletSetFocusHandlingMode natinusala 2018-11-07 19:27:50 +01:00
  • 543dbb039a Introduce Framebuffer, experimental wrapper object around a framebuffer queue for use by software rendering clients fincs 2018-11-12 23:31:48 +01:00
  • 7b30060a17 NWindow: add nwindowReleaseBuffers, which is also done automatically on Close fincs 2018-11-12 23:19:14 +01:00
  • ed5293920c Rename NvInfo to NvGpu fincs 2018-11-12 18:06:44 +01:00
  • 4607c5e5d3 Rename nvMapFree to nvMapClose for consistency reasons fincs 2018-11-12 18:02:02 +01:00
  • a09136a541 Introduce NWindow, an experimental replacement for the GFX API fincs 2018-11-11 18:43:47 +01:00
  • b48463be44 gfx.c: fix two single-line bugs fincs 2018-11-11 18:42:30 +01:00
  • 8a90a0b568 Const correctness in bqCancelBuffer fincs 2018-11-11 18:41:34 +01:00
  • 78548a6690 Major buffer producer refactor, see details: fincs 2018-11-10 22:14:40 +01:00
  • fdfdf237fb display/parcel.h: Const correctness fixes fincs 2018-11-10 22:00:21 +01:00
  • bf6bd3fef1 gfx/hid/irs/nv/vi: changes related to sysmodule users, see details: fincs 2018-11-10 16:34:51 +01:00
  • e19765445d fs: Add fsFsQueryEntry (and fsFsSetArchiveBit helper) (#202) SciresM 2018-11-09 19:03:47 -08:00
  • fd4afacb01 Expose appletSetFocusHandlingMode natinusala 2018-11-07 19:27:50 +01:00
  • ac6a12019e gfx: finally get rid of nvgfx, replaced with an NvMap object fincs 2018-11-08 01:06:06 +01:00
  • f3f1546414 Major refactor and redesign of nvidia wrapper objects, see details: fincs 2018-11-08 01:05:21 +01:00
  • c45af5e9bc NvAddressSpace: major overhaul, see details: fincs 2018-10-31 16:32:10 +01:00
  • 072ef118d6 nvhost-as-gpu.c: fix some mistakes, add nvioctlNvhostAsGpu_FreeSpace, add NvAllocSpaceFlags, add NvMapBufferFlags_Modify fincs 2018-10-31 16:26:06 +01:00
  • 928a3f510e Added nvInfoGetGpuCharacteristics fincs 2018-10-31 15:06:08 +01:00
  • 5a078b1205 Use 6.0.0+ _hwopusDecodeInterleaved cmds. yellows8 2018-11-06 23:02:40 -05:00
  • 6a8dba4eb4 Added support for hwopus multistream. Minor adjustments in hwopus.h. yellows8 2018-11-06 15:10:54 -05:00
  • c99518643c Use _hwopusDecodeInterleavedWithPerfOld on 4.0.0+. Use the multistream cmdid when a bool flag is set in HwopusDecoder, which is currently not set. yellows8 2018-11-06 10:47:09 -05:00
  • b25be27525 Use BufferType_Normal in auddev. yellows8 2018-11-05 11:34:30 -05:00
  • c5d3f0dfb5 Added HwopusHeader struct. yellows8 2018-11-04 22:03:25 -05:00
  • a6412e1e3a Fixed swapped output raw fields in hwopusDecodeInterleaved, and also swapped those in the params. yellows8 2018-11-04 20:29:38 -05:00
  • 34e99d53c2 Added hwopus. yellows8 2018-11-04 18:39:04 -05:00
  • 7c2d89dc71 psc: Add PmModule support (#200) SciresM 2018-11-04 10:40:15 +09:00
  • b3f4763f88 psc: fix extra newline Michael Scire 2018-11-03 12:26:02 -07:00
  • 342b12ee21 psc: Add PmModule support Michael Scire 2018-11-03 11:14:36 -07:00
  • 576302444d Added auddev and AudioDeviceName. yellows8 2018-11-02 16:03:36 -04:00
  • 480174753a Release v1.5.0 v1.5.0 fincs 2018-10-27 17:42:06 +02:00
  • ede79862fb Add threadGetCurHandle fincs 2018-10-27 17:34:44 +02:00
  • ccfb1fd4d2 Use Event in applet instead of raw handles. yellows8 2018-10-26 14:00:13 -04:00
  • 3b0348654e Use Event in audout/audin instead of raw handles. yellows8 2018-10-26 13:41:26 -04:00
  • 5dc7505139 Fixed swapped params for svcCreateEvent in eventCreate. yellows8 2018-10-26 13:08:45 -04:00
  • 49e4e31fcc Added support for psm StateChangeEvent. Added psmGetBatteryVoltageState. Code style adjustments, use serviceIpc*, etc. yellows8 2018-10-26 13:07:10 -04:00
  • de79614a12 Added info regarding timeout to the appletLockExit comments. yellows8 2018-10-25 12:34:33 -04:00
  • ac853db5f0 set:sys: Add GetFirmwareVersion(2) (#190) SciresM 2018-10-25 06:16:35 +09:00
  • bcddc1ea35 Only allow using video-recording with regular-application, since it's not usable with SystemApplication. Added _appletIsRegularApplication() for this. yellows8 2018-10-23 16:23:14 -04:00
  • b130d96445 barrier implementation using semaphores (#186) tatehaga 2018-10-23 15:19:27 -04:00
  • 318562d13b Init/exit nifm in socketInitialize/socketExit, the user app no longer has to manually handle this when using gethostid/gethostname. Use domains for nifm. Style adjustments in nifm.c. yellows8 2018-10-23 14:04:58 -04:00
  • 6977cb24f5 virtmem: Fix minor regression plutooo 2018-10-23 04:07:01 +02:00
  • e942b9cc25 virtmem: Fix stack region mapping on 1.0.0 Michael Scire 2018-10-22 13:19:00 -07:00
  • a15c9945a7 Updated comments regarding requirements for using video-recording, etc. Changed appletInitializeGamePlayRecording to (void) since the sysmodule only supports a fixed size. yellows8 2018-10-22 13:37:25 -04:00