Selver
34f6c4dc4e
Additional comment for fsFsSetArchiveBit()
...
Describe why HOS might have done this. While the below is conjecture, the effect matches the comment added to the file.
FAT32 has a (4GiB-1) byte limit per file, but they had to support that media.
They likely wanted to avoid forcing game makers to partition game files.
If the above is true, then this hack could make sense....
The directory, rather than being a "real" directory, is storing the file in multiple parts.
Example (ignoring actual hash-based file names that HOS uses for simplicity):
* The game ships with a file named "FOO.DAT" that is 6GB in size.
* HOS does not attempt to create a 6GB file on FAT32 media (which would fail)
* HOS creates a directory named "FOO.DAT" instead.
* Inside that directory, HOS stores the first 2GB as "FileChunk01"
* Inside that directory, HOS stores the second 2GB portion as "FileChunk02"
* Inside that directory, HOS stores the final 2GB of the data as "FileChunk03"
Unfortunately, by using the archive bit, it can cause problems, especially when an OS (ahem... MacOS) or other utility changes the archive bit settings on directories....
2018-11-30 13:01:15 -08:00
yellows8
ba68e198db
Use PACKED for usb_endpoint_descriptor and usb_config_descriptor.
2018-11-29 17:25:46 -05:00
rsn8887
b2bee550ff
Improve documentation of hidMergeSingleJoyAsDualJoy
2018-11-29 11:09:14 -05:00
yellows8
f373b3ca23
Added usbds.h to switch.h.
2018-11-28 21:56:34 -05:00
yellows8
725ac9f00a
Moved usb code specific to usbds into seperate .c/.h.
2018-11-28 17:34:53 -05:00
yellows8
528b17c9b5
Added usb_config_descriptor in usb.h.
2018-11-28 17:11:11 -05:00
yellows8
3726eb8950
Use PACKED for _usbDsGetSession resp, required for domains. Use domains for usbds, with changes from @SciresM.
2018-11-28 16:40:45 -05:00
yellows8
68846af044
Removed alignment for object_ids in ipcParseDomainResponse, since official sw doesn't have this.
2018-11-28 16:37:33 -05:00
yellows8
7ae659c2cb
Handle the output u8 in _usbDsGetSession, without using it in the callers.
2018-11-28 15:03:06 -05:00
fincs
07cd134d24
Release v1.6.0
2018-11-28 02:09:20 +01:00
yellows8
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 .
2018-11-20 14:22:19 -05:00
pixel-stuck
a7577f7b56
Add pcvSetVoltageEnabled and pcvGetVoltageEnabled ( #208 )
...
* Add pcvSetVoltageEnabled and pcvGetVoltageEnabled
2018-11-19 10:37:59 -05:00
yellows8
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.
2018-11-17 11:43:24 -05:00
yellows8
e7117a7903
Added enum for hidSetNpadJoyHoldType. Improved hid docs. Use hidSetNpadJoyHoldType during hid init/exit. Closes #206 .
2018-11-15 21:36:34 -05:00
rsn8887
33364a8271
support SL/SR buttons on right JoyCons
2018-11-16 00:18:19 +01:00
yellows8
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.
2018-11-14 20:55:17 -05:00
Michael Scire
4e4d5ef320
fatal: Implement fatalWithContext
2018-11-14 19:52:40 -05:00
Michael Scire
e943eb6ea5
Add fs gamecard attribute retrieve commands
2018-11-14 19:52:40 -05:00
Michael Scire
4581e597c0
Add SetSysFlag_RequiresRunRepairTimeReviser
2018-11-14 19:52:40 -05:00
Michael Scire
8bef0e6298
Add GpioPadName_ButtonVol[UpDown]
2018-11-14 19:52:40 -05:00
Michael Scire
7b7bd9dd9d
Add setsys fatal commands
2018-11-14 19:52:40 -05:00
Michael Scire
5386edef4f
Add gpio wrapper
2018-11-14 19:52:40 -05:00
Michael Scire
dec6f1ffe1
Add i2cOpenSession, i2csessionSendAuto
2018-11-14 19:52:40 -05:00
Michael Scire
3ba8a5aa87
Add lblSwitchBacklightOn and lblSwitchBacklightOff
2018-11-14 19:52:40 -05:00
Michael Scire
8cb9004a2f
Add pcvGetClockRate/pcvSetClockRate
2018-11-14 19:52:40 -05:00
Michael Scire
27936900d0
Add enum for PsmBatteryVoltageState
2018-11-14 19:52:40 -05:00
Michael Scire
94dc8f75f9
Add bpcGetSleepButtonState
2018-11-14 19:52:40 -05:00
Michael Scire
ee55b63f79
Add spsm wrapper.
2018-11-14 19:52:40 -05:00
yellows8
5e69f760fb
Added support for exception-handling.
2018-11-14 16:17:02 -05:00
SciresM
e19765445d
fs: Add fsFsQueryEntry (and fsFsSetArchiveBit helper) ( #202 )
...
* fs: Add fsFsSetArchiveBit
* Add fsdevSetArchiveBit wrapper
2018-11-09 22:03:47 -05:00
natinusala
fd4afacb01
Expose appletSetFocusHandlingMode
2018-11-08 19:27:56 -05:00
yellows8
5a078b1205
Use 6.0.0+ _hwopusDecodeInterleaved cmds.
2018-11-06 23:02:40 -05:00
yellows8
6a8dba4eb4
Added support for hwopus multistream. Minor adjustments in hwopus.h.
2018-11-06 15:10:54 -05:00
yellows8
c99518643c
Use _hwopusDecodeInterleavedWithPerfOld on 4.0.0+. Use the multistream cmdid when a bool flag is set in HwopusDecoder, which is currently not set.
2018-11-06 10:47:09 -05:00
yellows8
b25be27525
Use BufferType_Normal in auddev.
2018-11-05 11:34:30 -05:00
yellows8
c5d3f0dfb5
Added HwopusHeader struct.
2018-11-04 22:03:25 -05:00
yellows8
a6412e1e3a
Fixed swapped output raw fields in hwopusDecodeInterleaved, and also swapped those in the params.
2018-11-04 20:29:38 -05:00
yellows8
34e99d53c2
Added hwopus.
2018-11-04 18:39:04 -05:00
SciresM
7c2d89dc71
psc: Add PmModule support ( #200 )
...
* psc: Add PmModule support
2018-11-03 21:40:15 -04:00
yellows8
576302444d
Added auddev and AudioDeviceName.
2018-11-02 16:04:09 -04:00
fincs
480174753a
Release v1.5.0
2018-10-27 17:42:06 +02:00
fincs
ede79862fb
Add threadGetCurHandle
2018-10-27 17:34:44 +02:00
yellows8
ccfb1fd4d2
Use Event in applet instead of raw handles.
2018-10-26 14:00:13 -04:00
yellows8
3b0348654e
Use Event in audout/audin instead of raw handles.
2018-10-26 13:41:26 -04:00
yellows8
5dc7505139
Fixed swapped params for svcCreateEvent in eventCreate.
2018-10-26 13:08:45 -04:00
yellows8
49e4e31fcc
Added support for psm StateChangeEvent. Added psmGetBatteryVoltageState. Code style adjustments, use serviceIpc*, etc.
2018-10-26 13:07:10 -04:00
yellows8
de79614a12
Added info regarding timeout to the appletLockExit comments.
2018-10-25 12:34:33 -04:00
SciresM
ac853db5f0
set:sys: Add GetFirmwareVersion(2) ( #190 )
...
* set:sys: Add GetFirmwareVersion
2018-10-24 17:16:35 -04:00
yellows8
bcddc1ea35
Only allow using video-recording with regular-application, since it's not usable with SystemApplication. Added _appletIsRegularApplication() for this.
2018-10-23 16:23:14 -04:00
tatehaga
b130d96445
barrier implementation using semaphores ( #186 )
2018-10-23 21:19:26 +02:00