Commit Graph

460 Commits

Author SHA1 Message Date
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
Maschell
ffd54d59be nn::sl: Add more fields to LaunchInfo struct 2023-04-01 17:03:41 +02:00
Maschell
d2e9e595c4 coreinit: Add missing MCP functions/enums 2023-04-01 17:03:41 +02:00
GaryOderNichts
451a1828f7 Add MCP_CompatLoadAVFile 2023-03-25 16:05:35 +01:00
Maschell
de8d37db42 coreinit: Fix OSDynLoad_Error to be a 32bit value 2023-02-19 16:17:41 +01:00
Nathan Strong
d830b51667 A little fleshing out of the dynamic library header
== DETAILS

This commit provides two tweaks:

1. Add the "library not found" error, value of -6, to the
   `OSDynLoad_Error` enums
2. Define an `OSDynLoad_ExportType` enum and use it in place of the
   `isData` boolean parameter to avoid raw `true`/`false` values in the
   code and make usages easier to read:

   ```c
   // before - unclear what "false" means in this context
   last_error = OSDynLoad_FindExport((OSDynLoad_Module)lib, false, proc, &ptr_sym);
   ```
   vs:
   ```c
   // after - aha, we're looking up a function symbol
   last_error = OSDynLoad_FindExport((OSDynLoad_Module)lib, OS_DYNLOAD_EXPORT_FUNC, proc, &ptr_sym);
   ```
2023-02-17 18:15:35 +01:00
GaryOderNichts
09b2ccda26 coreinit: Add smd 2023-02-17 18:15:19 +01:00
Maschell
8b68eebeaf coreinit: Add __OSSuspendThreadNolock 2023-02-10 00:56:58 +01:00
Maschell
73bb4dcbcc coreinit: Add missing fields and enum definitions to OSThread and OSContext 2023-02-10 00:56:58 +01:00
Maschell
55b1cd7f2c coreinit: Add some kernel related functions 2023-02-09 18:16:49 +01:00
Maschell
fe4bdafb92 coreinit: Add __OSConsoleWrite 2023-02-09 18:16:27 +01:00