Commit Graph

501 Commits

Author SHA1 Message Date
Daniel K. O.
8b65fd6ce9
Fix typo in nsysnet and add more nn::ac functions. (#401)
Co-authored-by: Daniel K. O. (dkosmari) <none@none>
2024-10-01 21:21:24 +02:00
Daniel K. O.
ad730b9dcb
Added OSSetPerformanceMonitor(). (#400)
* Added `OSSetPerformanceMonitor()`.

--HG--
branch : perf-mon

* Renamed everything.

--HG--
branch : perf-mon

* Added header to tests.

--HG--
branch : perf-mon

---------

Co-authored-by: Daniel K. O. (dkosmari) <none@none>
2024-09-30 11:32:53 +02:00
capitalistspz
7c93c38731
camera: event argument correction (#399)
* Event arg correction from surface to surface buffer

* Correct offset check
2024-09-07 00:34:03 +02:00
GaryOderNichts
34ad45777a avm: Add CEC functions 2024-08-25 18:57:51 +02:00
GaryOderNichts
bbcf70dbc0 tve: Add CEC functions 2024-08-25 18:57:51 +02:00
Maschell
c38b84c175 coreinit: add "MCP_DEVICE_TYPE_AUTO" 2024-08-10 17:43:27 +02:00
Maschell
55a4708ced nn_acp: Add ACPDevice enum values, add save related functions 2024-08-10 17:43:27 +02:00
GaryOderNichts
15b28d8587 nsysccr/cdc: Add CCRCDCSysGetInfo 2024-08-10 17:06:42 +02:00
Andrew Hawes
9a32ef1b65 nn_acp: Add ACPRemoveSaveDir* 2024-07-31 16:57:19 +02:00
capitalistspz
327de261b7
camera: corrections and comments (#392)
* camera: correct CAMSetupInfo struct layout, more comments

* offsets

* error -> failed

* Background comment
2024-07-31 16:56:31 +02:00
Maschell
8b05ac3410 nn_ccr: Add CCRSysSetCurrentLCDMode and CCRSysGetCurrentLCDMode 2024-07-23 01:05:43 +02:00
capitalistspz
7044eaa8e4
coreinit/screen: Swap row and column parameters in OSScreenPutFontEx (#391)
* coreinit/OSScreenPutFontEx: Swap row and column parameters

* swap the comment order too
2024-07-19 19:56:49 +02:00
Daniel López Guimaraes
29f5093bf0 nn/dlp: Fix Initialize functions on ServerPrivate
These functions were pointing to the `Server` implementation, and not
the `ServerPrivate` one. Fix the typo using the correct `ServerPrivate`
export instead.
2024-07-19 18:54:10 +02:00
Daniel López Guimaraes
0ae8f8a507 nn/dlp: Add initial headers 2024-07-13 16:35:13 +02:00
Daniel López Guimaraes
4933211d7b
nn/uds: Add initial headers (#387)
* nn/uds: Add initial headers

* nn/uds: Minor fixes and improvements
2024-06-20 16:41:43 +02:00
team-orangeBlue
263c0364d1
More DRX definitions (#385)
* More DRX definitions

Changed DRH state names, notably:
UNK0-> NORADIO
UNK1-> WII
UNK2-> [not renamed]
UNK3-> NODRC
UNK7F-> [not renamed]

DRC EEPROM now defined as data instead of being unknown.
More info yet to be added.

* Unneeded comment removed
2024-06-18 15:41:29 +02:00
GaryOderNichts
a1de926fd3 nsysccr/cdc: Update CCRCDCDrcStateEnum with test menu names 2024-06-18 15:38:17 +02:00
GaryOderNichts
8474549331 gx2: Add GX2GetSystemTVAspectRatio 2024-06-11 17:21:14 +02:00
GaryOderNichts
9918fea92a nsysnet/netconfig: Add SOGetProxyConfig 2024-06-10 20:02:10 +02:00
GaryOderNichts
09f04f6162 gx2: Add GX2AllocateTilingApertureEx and GX2FreeTilingAperture 2024-06-10 20:01:54 +02:00
Maschell
e47a996a3b nsysccr: Add CCRCDCRegister*AttachCallback functions 2024-06-10 20:00:42 +02:00
Maschell
4ee360097d avm: Add some missing DRC functions 2024-06-10 19:59:47 +02:00
Maschell
ed0c91de16 coreinit: Fix wrong/duplicate OSGetCodegenVirtAddrRange declaration, formatting 2024-06-10 19:42:35 +02:00
Maschell
f17054e3e8 sndcore2: Update AXTransitionAudioBuffer struct 2024-06-10 13:32:51 +02:00
Maschell
151b1d02d1 vpad: Add VPADGetButtonProcMode 2024-06-10 13:31:56 +02:00
Maschell
7520e846ce gx2: add GX2GetMainCoreId 2024-06-10 13:31:19 +02:00
Maschell
e0854333e8
nn_ccr: Add CCRSysCaffeineBootCheckAbort; nsysccr: fix quick start menu value in CCRCDCDrcStateEnum (#372)
* nn_ccr: Add CCRSysCaffeineBootCheckAbort

* nsysccr: Fix quick start menu field in CCRCDCDrcStateEnum

* Update include/nsysccr/cdc.h
2024-06-09 14:29:23 +02:00
GaryOderNichts
48b6c3b32a
wut_types: Implement more operators for WUT_ENUM_BITMASK_TYPE (#369)
* wut_types: Implement more operators for `WUT_ENUM_BITMASK_TYPE`

* wut_types: Use `std::underlying_type_t`

* wut_types: Use an anonymous namespace
2024-06-09 12:56:37 +02:00
capitalistspz
1da14020ee
coreinit: add stopwatch.h and stopwatchatomic.h (#370)
* coreinit: add stopwatch.h and stopwatchatomic.h

* Formatting

* correct function name
2024-06-08 20:19:28 +02:00
Maschell
ef057f145b coreinit: Add __FSAShimDecodeIosErrorToFsaStatus 2024-06-08 17:55:44 +02:00
Maschell
474ae04cb9 nn_acp: Add ACPGetTitleMetaDir and ACPGetTitleMetaDirByTitleListType 2024-06-08 17:47:16 +02:00
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