Commit Graph

779 Commits

Author SHA1 Message Date
f4cd99f1b1 libwutsocket: Add __wut_socket_init_devoptab() and __wut_socket_fini_devoptab() 2021-09-17 15:56:19 +02:00
912a373b12 libwutsocket: Change ACConnect() to ACConnectAsync(), Add ACClose() 2021-06-08 20:04:34 +02:00
f78363be81 wutsocket: Revise automatic initialization, see details:
- socket_lib_init/exit wrappers are no longer stubs; they now perform
  refcounting & automatically register/deregister the socket devoptab
- Similarly, WHBInitialize/DeinitializeSocketLibrary are now aliased
  to socket_lib_init/exit
- WHBLogUdp now references socket_lib_init/finish again
- __init/fini_wut_socket have been simplified and are now weak,
  this is intended to allow users to customize their behaviour
2021-06-08 20:04:33 +02:00
9174f415ed Fix static constructors (closes #172) 2021-06-08 20:04:33 +02:00
dabb4c6052 wut.ld: restore .tm_clone_table 2021-04-25 16:52:12 +02:00
b6ca8b16a1 More linkscript updates, fixes and cleanup (fixes #123) 2021-04-25 16:41:43 +02:00
4c816e115e nsysuhs: Add header for nsysuhs.rpl 2021-04-12 18:01:53 +02:00
d0dc9869e5 wutsocket: avoid aliasing issues 2021-03-07 16:40:55 +01:00
174b0c0a86 wutsocket: implement gethostid and gethostname 2021-03-07 16:40:55 +01:00
f1e9cbd58a wutsocket: implement missing functions 2021-03-07 16:40:55 +01:00
efc1bd47ff wutsocket: only link in networking layer if actually used 2021-03-07 13:36:59 +01:00
c377cffe13 Network socket changes (#136) 2021-03-07 13:09:12 +01:00
6c168606a3 wutstdc++: Remove link-time dependency on libstdc++ 2021-03-06 19:31:09 +01:00
2600a8ada0 gx2: enhance GX2AttribFormat with info from decaf-emu
https://github.com/decaf-emu/decaf-emu/blob/master/src/libdecaf/src/cafe/libraries/gx2/gx2_enum.h#L21-L49
2021-03-06 14:28:27 +01:00
a607078c5d gx2/gx2r: improve compatibility of enum bitmask types with C++ 2021-03-04 19:48:46 +01:00
e4ea8bf0e4 gx2: add a few missing enum values from decaf-emu
https://github.com/decaf-emu/decaf-emu/blob/master/src/libdecaf/src/cafe/libraries/gx2/gx2_enum.h
2021-03-04 19:48:46 +01:00
d04f68f8b1 Minor linkscript cleanup 2021-03-04 19:48:45 +01:00
4edc8271be Buildsystem: add support for creating .wuhb files 2021-03-04 19:48:45 +01:00
b762ce2ab6 Remove obsolete static library stubs 2021-03-04 19:48:45 +01:00
0951f1d8a6 Remove deprecated wut.mk buildsystem & obsolete cmake macros 2021-03-04 19:48:45 +01:00
f5f5668cd9 wut.ld: Remove redundant commands 2021-03-04 19:48:45 +01:00
7c67d8baa3 wut_rules: rpx/rpl: use unstripped ELF directly 2021-03-04 19:48:26 +01:00
2ae085d528 Add definitions
Added:
* VPADDisablePowerButton
* VPADEnablePowerButton
* VPADBASEGetHeadphoneStatus
* VPADBASEGetGameControllerMode
* VPADBASESetGameControllerMode
* VPADBASEGetPowerButtonPressStatus
* VPADBASESetPowerButtonPressStatus
* VPADBASESetPowerButtonDisableMode
2021-03-04 19:47:45 +01:00
712843cd58 wutnewlib: fix gettod 2021-02-09 20:17:56 +00:00
1a03085f37 Add AXDeregisterAppFrameCallback 2021-02-01 17:02:50 +00:00
583b7d412d samples/swkbd: Use FS_ERROR_FLAG_NONE instead of 0 2021-01-01 17:21:44 +01:00
af99d5acbd libwhb: Use FS_ERROR_FLAG_ALL instead of -1 2021-01-01 17:21:44 +01:00
510409db7a wutdevoptab: Use FS_ERROR_FLAG_ALL instead of -1 2021-01-01 17:21:44 +01:00
aa31f61966 coreinit/filesystem: Add FSErrorFlag 2021-01-01 17:21:44 +01:00
79b8597a68 wutdevoptab: Only allocate a new buffer if the given buffer is not aligned properly (#159) 2021-01-01 17:16:40 +01:00
81d689ed76 coreinit: fix the description of OSDynLoad_AddNotifyCallback/OSDynLoad_DelNotifyCallback, create OSDynLoad_NotifyReason 2020-12-31 11:08:37 +00:00
de3c7ad683 coreinit: add OSDynLoad_IsModuleLoaded 2020-12-31 11:08:37 +00:00
3cb31a4cec coreinit: add OSDynLoad_AddNotifyCallback and OSDynLoad_DelNotifyCallback 2020-12-31 11:08:37 +00:00
67d9211764 coreinit/messagequeue: Add OSGetDefaultAppIOQueue 2020-12-31 10:48:34 +00:00
bc6ee14ca3 WHB: Fix missing FSDelClient (#158) 2020-11-28 16:18:34 +00:00
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
59b83dac23 Fix a doxygen warning 2020-09-21 22:27:40 +01:00
3422c79e49 Add more VPAD definitions
* VPADGetTVMenuStatus
* VPADSetTVMenuInvalid
2020-09-21 22:27:40 +01:00
ed3c03e9aa Add more VPAD definitions
* VPADGetGyroDirReviseParam
* VPADSetGyroDirReviseParam
* VPADStartGyroMagRevise
* VPADStopGyroMagRevise
2020-09-21 22:27:40 +01:00
6eb7090ee9 Add definition for VPADGetGyroZeroDriftMode and VPADSetGyroZeroDriftMode 2020-09-21 22:27:40 +01:00
23b541816f Update energysaver.h
Fix Drc -> DRC and Tv -> TV
Fixes #154
2020-09-21 22:21:47 +01:00
f3780f77fc Align code 2020-08-13 08:44:23 +01:00
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
83ca413027 Translate more FSErrors to errnos (#150) 1.0.0-beta11 2020-07-22 03:23:29 +01:00
2355b2c7b6 remove system zlib. closes #143 (#147) 2020-07-07 16:17:32 +01:00
e1898f62bc Use docker to run CI tasks. (#149) 2020-07-07 16:13:26 +01:00
545ea62e11 devoptab: add missing S_IFREG flag in the fstat return value 2020-06-23 10:45:50 +01:00
ff25fe18d0 Update my_first_rpl sample to use new rpl importing functionality. 2020-06-23 10:44:46 +01:00
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
07e77e9136 cmake: Generate import file for linking to an rpl with wut_add_exports. 2020-06-23 10:44:46 +01:00