Commit Graph

470 Commits

Author SHA1 Message Date
Maschell
35aa8b7e80 coreinit: Add "SavedFrame" related functions 2024-06-08 17:46:42 +02:00
Maschell
382a3b2c81 coreinit: Add __OSPhysicalToEffectiveCached and __OSPhysicalToEffectiveUncached 2024-06-06 21:10:30 +02:00
GaryOderNichts
09e36bf299
nsysccr/cdc: Add language and ext update functions (#368)
* nsysccr/cdc: Add language update functions

* nsysccr/cdc: Add `CCRCDCSoftwareExtUpdate`

* nsysccr/cdc: Add more `CCRCDCUicConfigIdEnum` names
2024-05-23 22:15:51 +02:00
capitalistspz
c4368c7822
padscore: Add more functions and types, rename nunchuck -> nunchuk (#348)
* re-sorted and used BOOL

* Added a bit to wpad

* roll back time, name PeripheralSpace correctly, and IsMplsAttached use correct callback

* name WPADPeripheralSpace correctly again

* Add WPADIsMplsIntegrated, correct description of WPADIsMplsAttached

* Add KPADEnableMpls(), KPADDisableMpls() and KPADMplsMode enum

* Spellings, comments and formatting

* Use enum type for KPADEnableMpls param

* Add more WPADDataFormat entries (taken from Cemu)

* Add WPADiQueue and some WPADi functions

* Add WPADGetInfo, WPADGetInfoAsync, and WPADInfo struct (taken from Cemu)

* Add a bunch of game data functions and the rest of the WPADiSend functions

* Add WPADSpeakerMode and speaker functions

* Enum member changes

* Add KPADEnable/DisableDPD, add mpls status functions, typedef KPADMplsMode to WPADMplsMode

* Update WPADSpeakerMode, add WPADGetSpeakerVolume, WPADSetSpeakerVolume

* Add WPADAddress and WPADGetAddress

* WPADIsEnabledURC, WPADEnableWBC, WPADIsEnableWBC

* Add sync functions, update WPADAddress
- Add WPADStartSyncDevice
- Add WPADStartSyncDeviceEx
- Change variable name

* Update WPADExtensionType
- Add WPAD_EXT_DEV_NOT_FOUND

* Update WPADExtensionType and WPADExtensionCallback, add WPADGetDpdFormat
- Add WPAD_EXT_DEV_NOT_FOUND
- Add WPAD_EXT_UNKNOWN
- WPADExtensionType as param to WPADExtensionCallback

* Add PowerSave functions

* Changes:
- More documentation
- More members to WPADMplsMode
- WPADLed as bitmask

* Slight corrections:
- WPADControlLed returns int32
- WPADiHIDParser returns int32
- WPADStartSyncDevice comments fixed

* WPADControlSpeakerMode -> WPADControlSpeaker

* More appropriate enum names

* More info on speaker

* typedef WPADAddress, char16_t -> uint16_t, comment updates

* Update WPADStartSyncDeviceEx comments
2024-05-13 01:43:09 +02:00
Maschell
72ec4f790f nn_ccr: Add CCRSysSetInitBootFlag and CCRSysInitializeSettings 2024-05-05 13:48:17 +02:00
Maschell
536c584989 nsysccr: Add CCRCDCUicConfigIdEnum values 2024-05-05 13:48:17 +02:00
Maschell
2ff0ab7e59 sysapp: Add all possible "jumpTo" targets for SysAppSettingsArgs 2024-05-05 13:45:09 +02:00
Maschell
c2b385cf2c nn_sl: Fix wrong parameters for nn::sl::LaunchInfoDatabase::Unregister 2024-05-05 08:22:49 +02:00
Maschell
c00384924e nn_ccr: Add CCRSysCaffeineSetDRCEnableFlag and CCRSysCaffeineSetEnableFlag 2024-04-27 13:47:37 +02:00
Maschell
0f33ec2121 coreinit: Add MCP_ChangeEcoSettings 2024-04-27 13:47:37 +02:00
Maschell
4e652e196a nn_idb: move include into libraries 2024-04-27 13:38:33 +02:00
Maschell
f0582e2e3e nn_idb: Implement icon database reading 2024-04-26 14:46:56 +02:00
Maschell
8e4e1cb41a nn_ccr: Update CCRAppLaunchParam struct 2024-04-24 14:27:58 +02:00
Maschell
6a1607c0a0 nsysccr: Update CCRCDCDrcStateEnum to add CCR_CDC_DRC_STATE_QUICK_START_MENU 2024-04-24 14:27:58 +02:00
Maschell
f01a0b87ac
Implement more functions/classes from nn::sl (#354) 2024-04-22 19:06:02 +01:00
Andrew
e9abab7cd4 coreinit/mcp: Add MCP_TriggerCrashLogCollection 2024-04-21 15:27:09 +02:00
Maschell
08cfb34e0b
coreinit: Add MEMCheckExpHeap and MEMCheckHeap (#358)
* coreinit: Add MEMCheckExpHeap and MEMCheckHeap

* coreinit: Fix MEMCheckExpHeap and MEMCheckHeap functions
2024-04-20 19:25:24 +02:00
Maschell
669a63bd0c
nsysccr/cdc: Implement CCRCDCSysSetDrhState (#356)
* nsysccr: Implement CCRCDCSysSetDrhState

* nsysccr: Add CCRCDCSysGetDrhState

* nsysccr: Turn CCRCDCDrcState into a struct

* nsysccr: Rename CCRCDCSysDrhState to CCRCDCDrhState to stay consistent with other structs

* Update include/nsysccr/cdc.h

Co-authored-by: GaryOderNichts <12049776+GaryOderNichts@users.noreply.github.com>

* Update include/nsysccr/cdc.h

Co-authored-by: GaryOderNichts <12049776+GaryOderNichts@users.noreply.github.com>

* Update include/nsysccr/cdc.h

Co-authored-by: GaryOderNichts <12049776+GaryOderNichts@users.noreply.github.com>

---------

Co-authored-by: GaryOderNichts <12049776+GaryOderNichts@users.noreply.github.com>
2024-04-09 11:41:11 +02:00
GaryOderNichts
b38d014a0c padscore: Add missing functions for 7-controller mode 2024-04-06 14:20:49 +02:00
GaryOderNichts
32426509d0 nn_ccr/sys: Add fw update functions 2024-04-05 18:13:47 +02:00
GaryOderNichts
682f8eb48a nsysccr/cdc: Add software functions 2024-04-02 12:12:13 +02:00
GaryOderNichts
bd6799f158
nsysccr/cdc: Add CCRCDCPerSetUicConfig and CCRCDCCalcCRC16 (#351)
* nsysccr/cdc: Add CCRCDCPerSetUicConfig

* nsysccr/cdc: Add CCRCDCCalcCRC16
2024-03-30 23:04:44 +01:00
GaryOderNichts
4edae90d8b coreinit/mcp: Fix MCPAppType for DRC and DRH 2024-03-28 11:13:41 +01:00
GaryOderNichts
20ef19297e nn/temp: Fix TEMPTargetPreference 2024-03-26 10:10:42 +01:00
GaryOderNichts
9fda122476 vpad: Fix documentation for VPADRead return value 2024-02-22 12:47:41 +01:00
GaryOderNichts
fe45347516
nn/hpad: Add initial headers (#344)
* nn/hpad: Add initial headers

* nn/hpad: Wrap HPADRead to ensure buffer count is 16
2024-02-22 12:47:28 +01:00
Andrew Hawes
c1115e51bb Add AVM headers, functions and enums 2024-02-04 18:04:54 +01:00
Andrew Hawes
e20c2e7517 Add TVE headers, functions and enums 2024-02-04 18:04:54 +01:00
GaryOderNichts
f1019f63a0 coreinit/im: Add missing IMEvents 2024-01-12 12:09:55 +01:00
GaryOderNichts
430e0c700a coreinit/im: Add IM_SetDeviceState 2024-01-12 12:09:55 +01:00
GaryOderNichts
af0ccf48b7
nn_nets2: Add somemopt (#338) 2023-11-30 12:22:49 +01:00
Maschell
8cf1780417
Add missing language/region values to nn::erreula and nn::swkbd (#336)
* nn:erreula: add missing LangType values

* nn::swkbd: fix swapped LangType values and add missing RegionType values

* nn:swkbd: Add documentation about LanguageType
2023-11-26 17:03:55 +01:00
Andrew
b98f8fc824
procui: Fix ProcUIInForeground and ProcUIIsRunning comments (#330)
* procui: Fix ProcUIInForeground and ProcUIIsRunning comments

* Apply suggestions from code review

Co-authored-by: GaryOderNichts <12049776+GaryOderNichts@users.noreply.github.com>

---------

Co-authored-by: GaryOderNichts <12049776+GaryOderNichts@users.noreply.github.com>
2023-10-18 01:08:39 +02:00
GaryOderNichts
922eb4583e wutsocket: allow sending multicasts 2023-10-17 23:01:41 +02:00
GaryOderNichts
0dc1d00746 Add missing setsockopt optnames 2023-10-17 23:01:41 +02:00
GaryOderNichts
aa40d08787 gx2: Add missing enum values 2023-10-11 21:27:58 +02:00
Fangal-Airbag
ccdc2ea30c Update camera.h 2023-10-11 17:35:24 +02:00
GaryOderNichts
cb9046e776 Add system time update functions 2023-10-07 10:58:26 +02:00
GaryOderNichts
0406a8377c ntag: Add initial header 2023-09-11 12:15:37 +02:00
GaryOderNichts
8395fe1474 nn_nfp: flags -> fontRegion 2023-09-11 12:15:37 +02:00
GaryOderNichts
56a6793869 nfc: fix some documentation issues 2023-09-11 12:15:37 +02:00
Andrew
095a397e7e
nsysccr/cdc: Add CCRCDCWowlWakeDrc and CCRCDCWakeStateEnum (#320) 2023-07-18 23:22:56 +02:00
GaryOderNichts
b408a15fa1 nfc: Add initial header 2023-07-18 23:21:51 +02:00
Maschell
5f42c2c34a
coreinit: Add some missing field to the OSThread struct (#319) 2023-06-04 11:05:14 +01:00
GaryOderNichts
3ae38b15c7
Implement __syscall_getreent (#318) 2023-05-21 14:03:48 +01:00
Maschell
4083224b51 wutdevoptab: Implement devoptab using FSA functions 2023-04-16 18:17:04 +01:00
GaryOderNichts
4a98cd4797 Separate vpadbase from vpad 2023-04-01 17:05:16 +02:00
Maschell
c3491e278c coreinit: Add KernelInfo0/KernelInfo6 structs 2023-04-01 17:04:40 +02:00
Exzap
53a076b4b4 coreinit: Fix OSDynLoad_EntryReason values 2023-04-01 17:04:18 +02:00
GaryOderNichts
8c22896e4f coreinit/mcp: Add MCP_GetSystemVersion 2023-04-01 17:03:58 +02:00