Commit Graph

1057 Commits

Author SHA1 Message Date
fincs
afa43f676d
wutnewlib: implement new unified threading syscalls (replaces wutstdc++) (#434)
Some checks failed
C/C++ CI / ubuntu-latest (push) Has been cancelled
2026-01-25 19:33:25 +01:00
capitalistspz
26ed8f3b39
Add declarations for some Wiimote audio stuff, +documentation (#433)
* Add declarations for some Wiimote audio stuff, +documentation

* Small comment changes
2026-01-25 13:12:47 +01:00
Cynthia Coan
49fe30fe49
coreinit/filesystem: Label HFIO/PCFS mount source type (#431)
* properly label PCFS mount type

now that we've got an open-source way of booting a cat-dev, and using
PCFS, we can confirm that this second mount source is indeed PCFS.

* fix one space

* pcfs -> hfio
2026-01-25 13:11:43 +01:00
capitalistspz
6cd63fe2b3
Include wut.h in h264/stream.h (#432)
* Include `wut.h` in `h264/stream.h`

Not having `wut.h` included when using this header results in redefinition errors because of `WUT_PACKED`

* Add a space
2025-12-28 17:16:39 +01:00
Daniel K. O.
e3ac119037
Added field to control swkbd keyboard layout. (#429)
Some checks failed
C/C++ CI / ubuntu-latest (push) Has been cancelled
Co-authored-by: Daniel K. O. (dkosmari) <none@none>
2025-11-01 14:30:01 +01:00
Daniel K. O.
1b412d2769
wutsocket fixes: select() handles timeout wrong, and poll() lacks a safety check (#428)
Some checks failed
C/C++ CI / ubuntu-latest (push) Has been cancelled
* - Fix select() to also update the fd_set arguments on timeout condition.
- Move the nfds argument restriction to the nsysnet side.
- Allow user-defined FD_SETSIZE, since newlib's fd_set allow custom sizes.
- Define __socklen_t_defined when socklen_t is typedefed.

* Added safety check for poll(): the nsysnet fd must fit in nsysnet_fd_set.

---------

Co-authored-by: Daniel K. O. (dkosmari) <none@none>
2025-10-10 20:27:42 +02:00
capitalistspz
cac70f560e Correct capitalization to WPADGetGameDataTimeStamp
Some checks failed
C/C++ CI / ubuntu-latest (push) Has been cancelled
2025-08-19 09:28:25 +02:00
GaryOderNichts
2c98cc91aa Run clang-format
Some checks failed
C/C++ CI / ubuntu-latest (push) Has been cancelled
`find . -regex '.*\.\(cpp\|hpp\|cu\|cuh\|c\|h\)' -exec clang-format -style=file -i {} \;`
2025-06-05 11:06:04 +01:00
GaryOderNichts
4f18f8041a Add formatting check workflow
Bundle clang-format-diff with workflow
2025-06-05 11:06:04 +01:00
GaryOderNichts
2b66122422 Add .clang-format
Co-authored-by: Maschell <Maschell@gmx.de>
2025-06-05 11:06:04 +01:00
Dave Murphy
fa650f92c4
remove unused dist target (#422) 2025-05-29 12:14:44 +01:00
GaryOderNichts
5fdc7ffe85 wutnewlib: Remove obsolete declarations to fix compiling with GCC 15 2025-05-24 20:56:14 +02:00
Daniel K. O.
81db8e5dd4
Add WUT_FORMAT_PRINTF and fix some format string bugs. (#404)
Some checks failed
C/C++ CI / ubuntu-latest (push) Has been cancelled
2025-05-17 22:35:56 +02:00
GaryOderNichts
1bbdc75f27 wutsocket/ioctl: Remove unimplemented requests
Some checks failed
C/C++ CI / ubuntu-latest (push) Has been cancelled
2025-05-16 22:13:22 +02:00
capitalistspz
b418690722
h264/decode: Make H264DECSetParam_USER_MEMORY take void** (#418) 2025-05-16 21:47:53 +02:00
capitalistspz
1447a0ed92
padscore: Add KPADSetSamplingCallback, WENCGetEncodeData and documentation improvements (#411)
Some checks failed
C/C++ CI / ubuntu-latest (push) Has been cancelled
* Add `WENCGetEncodeData`

* `const` and out

* WPADInfo changes

* WPADInfo changes

* Add `KPADSetSamplingCallback`

* Miscellaneous comment changes
2025-05-11 19:28:56 +02:00
GaryOderNichts
b35e595a6e nsysccr/cdc: Add lowlevel NFC commands
Some checks failed
C/C++ CI / ubuntu-latest (push) Has been cancelled
2025-03-29 19:10:12 +01:00
GaryOderNichts
a92c2b178b coreinit/debug: Add OSSendFatalError
Some checks failed
C/C++ CI / ubuntu-latest (push) Has been cancelled
2025-03-16 19:34:51 +01:00
Andrew
4847ddce41
bsp: Add all BSP errors (#412)
Some checks failed
C/C++ CI / ubuntu-latest (push) Has been cancelled
2025-02-19 12:45:23 +01:00
Dave Murphy
958936de47
update changelog for 1.7.0
Some checks failed
C/C++ CI / ubuntu-latest (push) Has been cancelled
2024-12-06 09:17:46 +00:00
Dave Murphy
941fd90b39
update changelog for 1.6.0 2024-12-06 09:16:33 +00:00
Daniel K. O.
5c9b87ce75
- Added WPADStatus* structs for various extensions. (#406)
Some checks failed
C/C++ CI / ubuntu-latest (push) Has been cancelled
- Added more enums and enum values.
- Added `padscore/wbc.h` header.
- Added more fields to KPADStatus.
- Added some more WPAD and KPAD functions.

--HG--
branch : padscore-additions-hg

Co-authored-by: Daniel K. O. (dkosmari) <none@none>
2024-10-26 18:22:17 +02:00
Daniel K. O.
6f48526d37
coreinit: Add memory allocator functions (#402)
Some checks failed
C/C++ CI / ubuntu-latest (push) Has been cancelled
Co-authored-by: Daniel K. O. (dkosmari) <none@none>
2024-10-07 22:04:47 +02:00
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
Maschell
09e3a2440b
nn_idb: Fix copy headers, fix nn::idb::IDBReader::Initialize (#395)
* nn_idb: Fix copy headers, fix nn::idb::IDBReader::Initialize

* Update libraries/nn_idb/src/IDBReader.cpp

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

---------

Co-authored-by: GaryOderNichts <12049776+GaryOderNichts@users.noreply.github.com>
2024-08-04 23:44:54 +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
jranderia3
c2682dd964
whb/gfx: Use 4:3 TV buffers on 4:3 TVs (#383)
* square monitor support

* Update gfx.c

Fix typo

* do it using gx2 instead of avm

* Update gfx.c

remove some newlines

* Update gfx.c

newline fix

* Update gfx.c
2024-06-14 20:04:58 +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