Commit Graph

756 Commits

Author SHA1 Message Date
GaryOderNichts
712843cd58 wutnewlib: fix gettod 2021-02-09 20:17:56 +00:00
GaryOderNichts
1a03085f37 Add AXDeregisterAppFrameCallback 2021-02-01 17:02:50 +00:00
Maschell
583b7d412d samples/swkbd: Use FS_ERROR_FLAG_NONE instead of 0 2021-01-01 17:21:44 +01:00
Maschell
af99d5acbd libwhb: Use FS_ERROR_FLAG_ALL instead of -1 2021-01-01 17:21:44 +01:00
Maschell
510409db7a wutdevoptab: Use FS_ERROR_FLAG_ALL instead of -1 2021-01-01 17:21:44 +01:00
Maschell
aa31f61966 coreinit/filesystem: Add FSErrorFlag 2021-01-01 17:21:44 +01:00
Maschell
79b8597a68
wutdevoptab: Only allocate a new buffer if the given buffer is not aligned properly (#159) 2021-01-01 17:16:40 +01:00
Maschell
81d689ed76 coreinit: fix the description of OSDynLoad_AddNotifyCallback/OSDynLoad_DelNotifyCallback, create OSDynLoad_NotifyReason 2020-12-31 11:08:37 +00:00
Maschell
de3c7ad683 coreinit: add OSDynLoad_IsModuleLoaded 2020-12-31 11:08:37 +00:00
Maschell
3cb31a4cec coreinit: add OSDynLoad_AddNotifyCallback and OSDynLoad_DelNotifyCallback 2020-12-31 11:08:37 +00:00
Maschell
67d9211764 coreinit/messagequeue: Add OSGetDefaultAppIOQueue 2020-12-31 10:48:34 +00:00
Maschell
bc6ee14ca3
WHB: Fix missing FSDelClient (#158) 2020-11-28 16:18:34 +00:00
luigoalma
1282cbbda3 Fixing nn::Result
Bit fields work, but suffer order changes with endianness
Was properly done for little endian, but not big endian
Swapped to shifts instead for general portability too
2020-11-12 08:57:56 +00:00
Crayon2000
59b83dac23 Fix a doxygen warning 2020-09-21 22:27:40 +01:00
Crayon2000
3422c79e49 Add more VPAD definitions
* VPADGetTVMenuStatus
* VPADSetTVMenuInvalid
2020-09-21 22:27:40 +01:00
Crayon2000
ed3c03e9aa Add more VPAD definitions
* VPADGetGyroDirReviseParam
* VPADSetGyroDirReviseParam
* VPADStartGyroMagRevise
* VPADStopGyroMagRevise
2020-09-21 22:27:40 +01:00
Crayon2000
6eb7090ee9 Add definition for VPADGetGyroZeroDriftMode and VPADSetGyroZeroDriftMode 2020-09-21 22:27:40 +01:00
James
23b541816f
Update energysaver.h
Fix Drc -> DRC and Tv -> TV
Fixes #154
2020-09-21 22:21:47 +01:00
Crayon2000
f3780f77fc Align code 2020-08-13 08:44:23 +01:00
Crayon2000
e86579ae4c Add definition for VPADSetGyroDirReviseBase
Removed the sudo in ci.yml, this is not required when using a Docker container.
Added missing doxygen comments in debug.h.
2020-08-13 08:44:23 +01:00
V10lator
83ca413027
Translate more FSErrors to errnos (#150) 2020-07-22 03:23:29 +01:00
Dave Murphy
2355b2c7b6
remove system zlib. closes #143 (#147) 2020-07-07 16:17:32 +01:00
Dave Murphy
e1898f62bc
Use docker to run CI tasks. (#149) 2020-07-07 16:13:26 +01:00
Maschell
545ea62e11 devoptab: add missing S_IFREG flag in the fstat return value 2020-06-23 10:45:50 +01:00
James Benton
ff25fe18d0 Update my_first_rpl sample to use new rpl importing functionality. 2020-06-23 10:44:46 +01:00
James Benton
191200b5cb cmake: Add wut_link_rpl for linking to an rpl that has exports.
The exports must have been added with wut_add_exports.
2020-06-23 10:44:46 +01:00
James Benton
07e77e9136 cmake: Generate import file for linking to an rpl with wut_add_exports. 2020-06-23 10:44:46 +01:00
James Benton
a3eefa84e6 cmake: Find WUT_RPLIMPORTGEN in toolchain. 2020-06-23 10:44:46 +01:00
Dave Murphy
b168032339 fix exit sequence 2020-06-07 13:09:11 +01:00
Dave Murphy
e096dad4c5 reworked syscalls interface 2020-06-07 13:09:11 +01:00
Maschell
9796ca64b2 wutdevoptab: Add missing RemoveDevice in __fini_wut_devoptab 2020-06-04 10:29:19 +01:00
Maschell
d659fd98d4 wutdevoptab: Reset __wut_fs_initialised and __wut_devoptab_fs_client in __fini_wut_devoptab 2020-06-04 10:29:19 +01:00
Maschell
aaa045af97
libwhb: Don't add a LogHandler if it's already in the list. (#140) 2020-06-03 21:05:08 +01:00
GaryOderNichts
27fbfd55fb
Add WHBLogConsoleSetColor (#138) 2020-05-26 09:03:19 +10:00
GaryOderNichts
05e45cc180
Add nn_pdm.rpl headers (#137)
* Add some nn_pdm.rpl headers

* nn_pdm: small fixes
2020-05-23 11:20:58 +10:00
Maschell
315f0856af
Add coreinit/bsp.h (#130)
* Add coreinit/bsp.h
- add enum BSPErrors
- add enum BSPHardwareVersions
- add function bspInitializeShimInterface
- add function bspGetHardwareVersion

See decaf for reference:
- 1dc2c3a278/src/libdecaf/src/ios/bsp/ios_bsp_enum.h
- dcd9bd1a08/src/libdecaf/src/cafe/libraries/coreinit/coreinit_bsp.h

* coreinit/bsp.h: fix enum declarations

* Add coreinit/bsp.h to the testsuite
2020-05-22 08:38:34 +10:00
Maschell
be5f1fc685
coreinit: Remove duplicate function (OSMemoryBarrier) (#135)
already exists in coreinit/cache.h
2020-05-22 08:35:59 +10:00
rw-r-r-0644
a6c336a706 h264: Move the enums out of enum.h 2020-05-21 14:12:12 +01:00
rw-r-r-0644
03ce7b3501 h264/enum.h: Add enums documentation 2020-05-21 14:12:12 +01:00
rw-r-r-0644
53e79f339a Update enum.h 2020-05-21 14:12:12 +01:00
rw-r-r-0644
c75394518d Add headers for h264.rpl (from Decaf) 2020-05-21 14:12:12 +01:00
Dave Murphy
85b6a745b1 remove unneeded WUT_PACKED
causes warnings in other places when taking address of struct members
2020-05-12 23:27:45 +01:00
James Benton
8e4ffb2fc6 coreinit: Add OSDynLoad_GetNumberOfRPLs and OSDynLoad_GetRPLInfo. 2020-05-12 07:46:54 +01:00
V10lator
0dbc7850cf
nn::swkbd::State: Name and add states (#133)
* nn::swkbd::State: Rename Unknown0 to Hidden

Signed-off-by: Thomas Rohloff <v10lator@myway.de>

* nn::swkbd::State: Add more states

Signed-off-by: Thomas Rohloff <v10lator@myway.de>
2020-05-12 09:17:16 +10:00
Ash Logan
157651309d Add quick .editorconfig
Should limit obvious formatting woes until we get our .clang-format game 
together
2020-05-10 15:59:40 +10:00
Ash Logan
3f9be376d0 nn: Add nn::act library 2020-05-10 15:59:03 +10:00
James Benton
7492ff0483 Fix formatting.
Maybe we should start using clang-format for wut.
2020-05-07 15:29:59 +01:00
Maschell
e2e877decd
Add coreinit/cosreport.h (#131)
* Add coreinit/cosreport.h
- add enum COSReportLevel
- add enum COSReportModule
- add function COSVReport
- add function COSError
- add function COSInfo
- add function COSVerbose
- add function COSWarn

see decaf for reference:
- dcd9bd1a08/src/libdecaf/src/cafe/libraries/coreinit/coreinit_cosreport.h
- 1dc2c3a278/src/libdecaf/src/cafe/libraries/coreinit/coreinit_enum.h

* Fix formatting in coreinit/cosreport.h

* coreinit/cosreport.h: Fix enum declarations

* Add coreinit/cosreport.h to the testsuite
2020-05-07 23:50:21 +10:00
Maschell
a0412a90da
Add coreinit/userconfig.h (#132)
* Add coreinit/userconfig.h
- add enum UCCommand
- add enum UCDataType
- add enum UCErrors
- add enum UCFileSys
- add struct UCSysConfig
- add struct UCAsyncParams
- add function UCOpen
- add function UCClose
- add function UCDeleteSysConfig
- add function UCDeleteSysConfigAsync
- add function UCReadSysConfig
- add function UCReadSysConfigAsync
- add function UCWriteSysConfig
- add function UCWriteSysConfigAsync

See decaf for reference:
- b75f646a1e/src/libdecaf/src/cafe/libraries/coreinit/coreinit_userconfig.h
- 407f3f8093/src/libdecaf/src/ios/auxil/ios_auxil_enum.h

* Fix structs

* coreinit/userconfig.h: Add missing typedefs

* Add coreinit/userconfig.h to testsuite
2020-05-07 23:49:18 +10:00
Maschell
7950d62d0e
coreinit/cache.h: Add OSMemoryBarrier (#127)
- add function OSMemoryBarrier
2020-05-07 22:36:05 +10:00