Commit Graph

521 Commits

Author SHA1 Message Date
Maschell
a812d49c13 sysapp: Add _SYSLaunchTitleWithStdArgsInNoSplash and _SYSLaunchMenuWithCheckingAccount 2021-12-28 16:39:34 +01:00
Maschell
42be83dd8c coreinit: Add missing FSGetVolumeInfo to coreinit 2021-12-28 16:30:31 +01:00
fincs
eb0306184d
wutsocket: Revise automatic initialization, see details:
- __init/fini_wut_socket have been simplified and are now weak,
  this is intended to allow users to customize their behaviour
- socket_lib_init/exit have been restored as regular imports and are
  no longer using RPLWRAP
- __wut_socket_init/fini_devoptab are now exposed as global symbols,
  intended to be used in custom socket init/deinit logic
2021-09-18 16:57:29 +02:00
Maschell
a766871253
libwutsocket: Add ACConnectAsync(), ACClose(), ACGetCloseStatus() 2021-09-18 16:49:12 +02:00
Maschell
4c816e115e nsysuhs: Add header for nsysuhs.rpl 2021-04-12 18:01:53 +02:00
GaryOderNichts
f1e9cbd58a wutsocket: implement missing functions 2021-03-07 16:40:55 +01:00
rw-r-r-0644
c377cffe13
Network socket changes (#136) 2021-03-07 13:09:12 +01:00
fincs
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
fincs
a607078c5d
gx2/gx2r: improve compatibility of enum bitmask types with C++ 2021-03-04 19:48:46 +01:00
fincs
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
Crayon2000
2ae085d528 Add definitions
Added:
* VPADDisablePowerButton
* VPADEnablePowerButton
* VPADBASEGetHeadphoneStatus
* VPADBASEGetGameControllerMode
* VPADBASESetGameControllerMode
* VPADBASEGetPowerButtonPressStatus
* VPADBASESetPowerButtonPressStatus
* VPADBASESetPowerButtonDisableMode
2021-03-04 19:47:45 +01:00
GaryOderNichts
1a03085f37 Add AXDeregisterAppFrameCallback 2021-02-01 17:02:50 +00:00
Maschell
aa31f61966 coreinit/filesystem: Add FSErrorFlag 2021-01-01 17:21:44 +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
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
Dave Murphy
2355b2c7b6
remove system zlib. closes #143 (#147) 2020-07-07 16:17:32 +01: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
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
Maschell
670ef1d342
coreinit/debug.h: Add OSIsDebuggerInitialized, OSIsDebuggerPresent, OSIsECOBoot, OSIsECOMode (#128)
- add function OSIsDebuggerInitialized
- add function OSIsDebuggerPresent
- add function OSIsECOBoot
- add function OSIsECOMode
2020-05-07 22:35:33 +10:00
Maschell
80012b48bd
Add missing function to dmae/mem.h: DMAEFillMemPhys (#129)
- add function DMAEFillMemPhys
2020-05-07 22:34:57 +10:00
Maschell
bab17a41c3
coreinit/memory.h: add OSMemoryBarrier, __OSZeroProcessMemory, OSGetSharedData (#126)
- add function OSMemoryBarrier
- add function __OSZeroProcessMemory
- add function OSGetSharedData + enum OSSharedDataType
2020-05-07 22:31:51 +10:00
rw-r-r-0644
8e69535604
cafe/coreinit: Identify remaining MCP app types (#124) 2020-05-02 10:49:56 +10:00
Maschell
599775e83a acp: Add missing extern "C" declarations to allow usage in C++ 2020-04-30 15:22:43 +01:00
James Benton
090fd38606 coreinit: Fix DisassemblePPCOpcode return type. 2020-04-26 10:06:13 +01:00
James Benton
5bf8c57bb8 Fix GX2TVScanMode.
Fixes #119.
2020-04-25 08:06:00 +01:00
Ash Logan
0fdbf66470 sysapp: Add PFID functions, rename APP_ID_UPDATER -> APP_ID_HOME_MENU, other system app funcs 2020-03-14 11:04:28 +11:00
Ash Logan
c9a2290196 acp: Add functions, structs, enums (from Decaf) 2020-03-12 13:51:13 +11:00
Ash Logan
3803e021f1 acp: Fix up length of ACPMetaXml
b9186b89b9/src/libdecaf/src/nn/acp/nn_acp_types.h (L110)
2020-03-12 12:36:11 +11:00
Crayon
78ee1c51bc Add Nunchuk/CC emulated sticks, KPAD accelerometer data, WPAD/KPAD documentation (#114)
* Add emulated stick values for Nunchuk and Classic Controller

* Add acceleration sensor data to KPADStatus

I have also changed the posValid type from uint8_t to int8_t because the value can be negative.
A negative value means that the result validity is not really good.

* Set version to beta in the doc

* Added mask for button C and button Z on the Nunchuk

The same mask applies to WPADButton and WPADNunchukButton.

* Add doxygen comments and fix typos

Most of the comments are pretty obvious but at least it's a start.

* Fix a copy-paste error in my last commit

I have also added comments for VPADGetTPCalibrationParam and VPADSetTPCalibrationParam.

* Add documentation for all buttons
2020-01-20 17:38:29 +11:00
James Benton
a35269d207 vpad: Add VPAD{Get,Set}TPCalibrationParam. 2020-01-18 10:45:28 +00:00
James Benton
ddc3d0ad0e coreinit: Add declarations for OSReport{Verbose,Info,Warn}. 2020-01-18 10:45:28 +00:00
Maschell
35c20d8700 sysapp: add _SYSGetSystemApplicationTitleId(SystemAppId id); 2019-11-22 18:07:37 +00:00
James Benton
159284a93d gx2: Add const to pointers where possible. 2019-11-22 17:42:16 +00:00
James Benton
9998acd4b3 gx2: Add missing primitive modes. 2019-11-19 23:09:39 +00:00
James Benton
8223bad1a3 coreinit/mcp: Fix MCAppType enum. 2019-11-19 21:44:23 +00:00
James Benton
695503571b coreinit: Fix MCPDevice structure. 2019-11-19 21:41:34 +00:00
Maschell
fe230e06cc coreinit: add OSGetOSID() and __OSGetProcessSDKVersion() 2019-11-19 21:35:48 +00:00
Maschell
d1d2da63ad mcp: update the MCPTitleListType struct 2019-11-19 21:34:40 +00:00
Maschell
b712686c38 mcp: update the MCPAppType struct 2019-11-19 21:34:40 +00:00
Maschell
7f2c9b5d69 nn_acp: add the ACPMetaXml struct 2019-11-19 21:34:32 +00:00
James Benton
f0ed4fb91f gx2: Add GX2Get{Geometry,Vertex,Pixel}Uniform{Block,Var}. 2019-11-19 09:41:18 +00:00
James Benton
f2f82b1c08 gx2: Fix data parameter type for GX2Set*UniformReg 2019-11-19 09:39:51 +00:00
Crayon2000
df93bf758f Add missing function declarations
Added:
* inet_ntoa_r
* inet_ntop
* inet_pton
* VPADGetTPCalibratedPointEx
2019-07-02 01:04:27 -04:00
Crayon
bb35c14451 Fix URL and status (#107) 2019-06-20 14:37:26 +01:00
Ash Logan
28ffb89c02 Merge 'build-refactor' attempt #1; get upstream changes 2019-04-23 18:37:05 +10:00
Ash Logan
f92657e8b5 coreinit: Use rplwrap for exit (__rplwrap_exit) 2019-04-22 12:43:37 +10:00
Ash Logan
f7af9c3316 include/coreinit: First pass at coreinit/codegen.h 2019-04-22 10:12:28 +10:00
rw-r-r-0644
4d7517a630 nsysnet: Add other supported socket options 2019-03-16 10:37:17 +00:00
rw-r-r-0644
34bfddb581 dmae: Add DMAECopyMem, DMAEFillMem and DMAEWaitDone (#102)
* dmae: Add DMAECopyMem, DMAEFillMem and DMAEWaitDone

* tests: Add dmae to header compile test list
2019-02-28 17:10:10 +11:00
Ash Logan
86a8526725 include/nn/ac: Document existing nn_ac functions 2019-02-21 08:55:08 +00:00
Ash Logan
b2e6bc52d0 include/nn: Basic nn::Result docs (IsSuccess, IsFailure) 2019-02-21 08:55:08 +00:00
Ash Logan
f955e734df include/swkbd: First shot at documenting swkbd
Mostly based off wut's example, but hey, should be pretty good!
2019-02-21 08:55:08 +00:00
Ash Logan
0f4e01e769 include/coreinit: Add missing doxygen group end to memorymap.h 2019-02-21 08:55:08 +00:00
Ash Logan
b142d92e36 include/sysapp: Add title.h - SYSCheckTitleExists, SYSGetPFIDFromTitleID 2019-02-21 08:55:08 +00:00
Ash Logan
610ed35050 include/sysapp: Minor documentation updates (procui works!) 2019-02-21 08:55:08 +00:00
James Benton
7495a9997f coreinit: Add __OSValidateAddressSpaceRange. 2019-01-10 10:24:27 +00:00
James Benton
9e0394aae3 avm: Add AVMGetDRCScanMode. 2019-01-10 10:05:14 +00:00
James Benton
7bee4c7ca4 coreinit: Add OSIsAddressValid. 2019-01-10 10:05:14 +00:00
James Benton
80f57713b8 coreinit: Add DisassemblePPCOpcode. 2019-01-10 10:05:14 +00:00
BullyWiiPlaza
41e96a5421 Add missing wut offset checks 2019-01-09 09:47:28 +00:00
BullyWiiPlaza
ed4b52408b Add missing OSContext fields from Diibugger 2019-01-09 09:47:28 +00:00
James Benton
f281a995b3 gx2: Add GX2_COMP_MAP and GX2_SQ_SEL_{RGBA} to utils.h 2018-10-21 15:25:32 +01:00
James Benton
fb4a54fc4c Rename GX2_SQ_SELMASK macro to GX2_SEL_MASK. 2018-10-21 15:24:25 +01:00
rw-r-r-0644
5201b78bd0 gx2: Add points primitive mode 2018-10-21 15:20:33 +01:00
James Benton
400318c3d1 Rename rpl_main to rpl_entry. 2018-09-30 08:40:38 +01:00
James
9a3483638e
Merge pull request #86 from QuarkTheAwesome/master
include/sysapp: Add basic documentation
2018-09-17 10:43:29 +01:00
James Benton
e0c27d8a2f Fix IOSVec. 2018-09-14 11:39:03 +01:00
James Benton
7c9120db96 Add alignas specifiers for OSContext, OSSpinLock, OSThread. 2018-09-14 09:02:46 +01:00
James Benton
bc9ececcc1 Add some missing fields in FSStat. 2018-09-14 08:43:46 +01:00
James Benton
a5053a2a1a Fix padding in sockaddr_storage 2018-09-02 09:33:56 +01:00
Ash
6db746212c include/sysapp: Add basic documentation 2018-08-28 19:50:41 +10:00
Ash
c9b2013b72 include/coreinit: Fix up some more Doxygen briefs 2018-07-25 10:45:06 +10:00
Ash
33ae7587d6 include/coreinit: Shorten/rephrase some particularly long briefs 2018-07-25 10:38:31 +10:00
James
41073579f2
Merge pull request #82 from QuarkTheAwesome/master
COS Docs: Add Doxygen for coreinit/cache, coreinit/core and coreinit/screen
2018-07-24 05:37:53 -07:00
Ash
e32369dbba
include/coreinit/screen: Add Doxygen docs for OSScreen 2018-07-24 22:04:20 +10:00
James Benton
5165813af9 Fix incorrect usage of WUT_CHECK_OFFSET in nn/swkbd/swkbd_cpp.h 2018-07-19 08:51:41 +01:00
James Benton
c655780c34 Fix WUT_CHECK_ macros not being evaluated on C++.
static_assert is only defined for C11.
2018-07-19 08:51:40 +01:00
Ash
9db6278915
include/coreinit/core.h: Add Doxygen docs for Core group. 2018-07-18 21:33:50 +10:00
Ash
2e9643e342
include/coreinit/cache: Document Cache function group 2018-07-18 21:26:39 +10:00
James
91973a3b14
Merge pull request #81 from QuarkTheAwesome/master
include/vpad: Documentation style tweaks, add VPADLcdMode, more docs
2018-07-08 23:47:11 -07:00
Ash
2ee317599e
include/vpad: Documentation style tweaks, add VPADLcdMode, more docs 2018-07-05 10:11:48 +10:00
James
5f97c75efa
Merge pull request #80 from Maschell/feature_gx2_surface
Add GX2ResolveAAColorBuffer
2018-07-03 03:14:39 -07:00
Maschell
6c999bf95c Add GX2ResolveAAColorBuffer 2018-07-01 18:29:50 +02:00
James Benton
17a83000e0 coreinit: Add OSSwitchFiber{Ex} functions. 2018-07-01 16:25:07 +01:00
James Benton
11ff692fbf coreinit: Add more OSContext related functions. 2018-07-01 16:24:51 +01:00
James
d01de98da2
Merge pull request #78 from Maschell/feature_coreinit_context
Add "OSLoadContext"
2018-07-01 08:12:54 -07:00
Maschell
531dfaee7f Add OSDynLoad_GetModuleName 2018-06-30 21:13:16 +02:00
Maschell
ee90aef8b9 Add "OSLoadContext" 2018-06-30 20:56:21 +02:00
James Benton
96bddc5a69 gx2: Add GX2DebugCapture functions. 2018-06-28 12:38:40 +01:00
Ash
fb92450f21
include/nsysnet/nssl: Clarify "block" arg to NSSLCreateConnection 2018-06-28 19:36:44 +10:00
Ash
3e8c28f939
include/nsysnet/nssl.h: Semantics - libcurl->nlibcurl 2018-06-28 19:36:12 +10:00
Ash
da3b0efaa6
include/nsysnet/nssl: Missing comma (-_-) 2018-06-28 19:34:28 +10:00
Ash
f9f5eb343a
include/nsysnet/nssl: Add meaningful group names, update cURL sample 2018-06-28 19:33:39 +10:00
Ash
0dd4b6bbda
include/nsysnet/nssl: Add NSSLDestroyConnection(). 2018-06-28 18:51:13 +10:00
Ash
e86a3be046
include/nsysnet/nssl: Add all the system certificates 2018-06-28 18:50:05 +10:00
Ash
55a911b56e
include/nsysnet/nssl: Add Doxygen documentation 2018-06-28 10:06:39 +10:00
James
75bdc97d3b
Merge pull request #75 from QuarkTheAwesome/master
COS Docs: Most of ProcUI
2018-06-26 07:57:48 -07:00
James Benton
fe9e0b208c gx2: Add brackets around define values. 2018-06-26 15:56:11 +01:00
Maschell
fa285aa946 Add MEMFindParentHeap and MEMCreateUserHeapHandle 2018-06-26 15:55:01 +01:00
James Benton
efeb31620d nn: Fix initialisation order in nn::Result 2018-06-26 15:52:49 +01:00
Ash
dbb45f54e1 include/proc_ui: Spelling; correct ProcessMessagesCore, DrawDoneRelease 2018-06-25 22:07:01 +10:00
Ash
b37c405af8
include/proc_ui: Polish off most of the Doxygen documentation
This might not be 100% accurate, feel free to update and overwrite and whatever.
2018-06-25 11:01:01 +10:00
Maschell
9977270efe Add some missing GX2 defines 2018-06-23 13:45:50 +02:00
Ash
31c762ed11 include/coreinit: Start documenting OS* memory functions (decaf)
From QuarkTheAwesome/decaf-emu@865ac43 and
QuarkTheAwesome/decaf-emu@81cd110
2018-06-23 20:13:38 +10:00
Ash
6a146f4b38 include/proc_ui: Add basic Doxygen documentation (decaf)
From QuarkTheAwesome/decaf-emu@7bc9ced68a
2018-06-23 20:11:31 +10:00
Ash
2f995fec41 include/vpad: Minor improvments, enum links, whatever 2018-06-23 19:52:13 +10:00
Ash
864ad21a0d include/vpad: Add Doxygen documentation for some functions (from decaf)
From e9db64c9442f239792477e8b5c8e61286329b206.
2018-06-23 19:35:30 +10:00
James
5abaac4a39
Merge pull request #72 from Maschell/feature_sndcore2
Add sndcore2 functions
2018-06-21 02:26:10 -07:00
James Benton
8d8cfe8a65 Add zlib headers from zlib 1.2.5 2018-06-21 10:19:47 +01:00
Maschell
90143f5876 Add sndcore2 functions 2018-06-20 21:46:06 +02:00
Maschell
b9a7e1714b Add several VPAD function, added more fields to the VPADStatus struct. 2018-06-20 13:32:22 +01:00
James Benton
ac6c9b648f Use correct struct for MCPSysProdSettings.
I copied system settings instead of system prod settings, oops.
2018-06-20 11:41:01 +01:00
Maschell
cf024e025b coreinit: Add more MCP functions. 2018-06-20 11:35:16 +01:00
James Benton
0cba642861 Add WUT_PACKED macro for struct packing. 2018-06-20 11:20:43 +01:00
Maschell
e528a09ba5 Add struct FSMessage and struct FSAsyncResult, added some missing fields to FSStat 2018-06-20 11:20:43 +01:00
James Benton
5091a36418 Add OSFunctionType.
Placed in messagequeue.h because it is used in the system message queue
for distinguishing messages.
2018-06-20 11:20:43 +01:00
Maschell
697edd3b69 Add WPADInit,WPADSetAutoSleepTime and WPADDisconnect 2018-06-20 11:05:16 +01:00
James Benton
5f1b1902f6 Prefix structsize macros with WUT_ 2018-06-20 11:05:16 +01:00
James Benton
b4619783ca Remove sized types from wut_types.h
stdint.h exists for a reason.
2018-06-20 11:05:16 +01:00
James Benton
4f224c6eb8 nsyshid: Fix HIDAttachEvent values. 2018-06-19 11:46:47 +01:00
James Benton
8c1943cdd7 nsysnet: Fix NSSL context / connection types.
NSSLCreateContext returns negative number on failure so must be a handle
rather than a pointer.
2018-06-18 12:17:16 +01:00
James Benton
8434982910 curl: Include nsysnet/socket.h in curlbuild.h 2018-06-18 12:16:23 +01:00
James Benton
c0e9142e6a curl: Fix typecheck-gcc for removed SSL options. 2018-06-18 12:16:11 +01:00
James Benton
b6ea35660a Add missing doxygen comments for nsyshid 2018-06-18 11:13:52 +01:00
James Benton
3483172b50 nsysnet: Add NSSL* functions. 2018-06-18 11:13:25 +01:00
James Benton
73a0b08bcf curl: Add NSSL_CONTEXT option for setting nsysnet SSL context. 2018-06-18 11:03:39 +01:00
James Benton
50aaa8ac82 curl: Remove SSL options. 2018-06-18 11:01:55 +01:00
James Benton
59b422f590 curl: Remove non-CafeOS platform specific stuff. 2018-06-18 11:01:36 +01:00
James Benton
8e1eb4839b Copy curl headers from curl git 7.21.7 2018-06-18 10:52:53 +01:00
James Benton
e65cb2304b Reformat vpad/input.h 2018-06-18 10:20:48 +01:00
James Benton
83583aa80b Reformat wpad.h 2018-06-18 10:20:48 +01:00
James Benton
75038273b5 Reformat kpad.h 2018-06-18 10:20:48 +01:00
James Benton
71c6521a38 Reformat hid.h 2018-06-18 10:20:48 +01:00
James Benton
55edba512f Fix circular dependency between systeminfo.h and time.h 2018-06-18 10:04:27 +01:00
James Benton
9cc6aead84 coreinit: Add remaining IM* functions. 2018-06-17 21:02:35 +01:00
Maschell
9dfb7d5344 Add missing VPAD rumble functions to the vpad/input.h 2018-06-17 20:55:28 +01:00
Maschell
c3c8ce30fe Modifed the kpad and wpad struct to be more like the VPADStatus struct. 2018-06-17 20:55:28 +01:00
Maschell
ea64525812 Add missing "systeminfo.h" include to the "thread.h" 2018-06-17 20:55:28 +01:00
Maschell
9fe98f8abe Add more button defines to the VPAD input.h 2018-06-17 20:55:28 +01:00
Maschell
f5aa0a6523 Add include of head "sys/select.h" which declares missing "fd_set" 2018-06-17 20:55:28 +01:00
Maschell
53c1a5f6c4 Add header files for some kpad and wpad functions 2018-06-17 20:55:28 +01:00
Maschell
da21125e15 Add header for the nsyshid.rpl 2018-06-17 20:55:28 +01:00
Maschell
c1c30a5c73 Add energy saving header. 2018-06-17 20:55:28 +01:00
James Benton
08fdf44541 1.0.0-alpha release. 2018-06-15 10:50:25 +01:00
James Benton
26af965373 Update some doxygen related headers. 2018-06-14 14:11:22 +01:00
James Benton
b48055dcb5 Fix some doxygen header groups. 2018-06-14 13:34:39 +01:00
James Benton
c4214cef35 sysapp: Change unknown structure to a struct typedef. 2018-06-13 17:36:12 +01:00
James Benton
adfd1c4e91 Fix nn/ac.h including removed header. 2018-06-13 13:39:42 +01:00
James Benton
c2a993a4dd samples: Add swkbd sample. 2018-06-13 12:14:11 +01:00
James Benton
75784dbb52 Add nn::swkbd library. 2018-06-13 12:12:22 +01:00
James Benton
9beff5dd0b Add padscore/kpad.h for a stubbed KPADStatus typedef. 2018-06-13 12:11:00 +01:00
James Benton
dc29e49a13 Fix nn/ac.h includes. 2018-06-13 12:10:15 +01:00
James Benton
2770867c97 nn_ac: Move to nn/ac and start the C++ API. 2018-06-11 17:34:05 +01:00
James Benton
f11112ca0f Change LATTE_SQ_SEL to GX2_SQ_SEL.
latte is private stuff yo.
2018-05-31 11:19:39 +01:00
James Benton
f281be50ab Add support for generating RPL files.
RPL files are shared libraries (like a .dll file), as opposed to the RPX
files which are executables (like a .exe file).

Use rpl_main as defined in dynload.h like one would DllMain on Windows.
2018-05-30 21:56:18 +01:00
James Benton
1489adeb37 coreinit: Add MEMVisitAllocatedForExpHeap 2018-05-30 19:05:54 +01:00
James Benton
d350e2e28a coreinit: Add a prototype for __preinit_user.
Also throw in CoreInitDefaultHeap whilst we are there, it's the default
implementation of __preinit_user.
2018-05-30 18:56:10 +01:00
James Benton
d5effaaf88 coreinit: Cleanup memory heap functions.
Move files to mem*heap.h.
Use MEMHeapHandle everywhere to reduce need for unecessary casts.
Rename types to match the function names better (e.g. Frame -> Frm).
2018-05-30 13:13:37 +01:00
James Benton
42ac732b2e coreinit: Add some memory functions.
Adds OSGetForegroundBucket, OSGetForegroundBucketFreeArea, OSGetMemBound.
2018-05-30 13:11:57 +01:00
James Benton
3e117fe667 coreinit: Merge baseheap.h into memheap.h 2018-05-30 13:11:20 +01:00
James Benton
3c763b7a08 coreinit: Add OSDynLoad_{Get,Set}TLSAllocator. 2018-05-30 13:10:57 +01:00
James Benton
65f03c5e62 coreinit: Add OSDynLoad_Error. 2018-05-30 13:10:38 +01:00
James Benton
524fd9143a coreinit: Add virtual memory mapping functions. 2018-05-29 13:55:10 +01:00
James Benton
766e832363 coreinit: Add default heap data exports. 2018-05-29 10:52:40 +01:00
James Benton
2b165bf887 Improve time conversion macros. 2018-05-28 11:39:36 +01:00
James Benton
479e9ad677 Add devoptab support for sdcard. 2018-05-27 12:11:45 +01:00
James Benton
33bff6ccb9 whb: Fix exception handlers to be globally registered.
Was previously only registered for current thread.
2018-05-25 18:59:29 +01:00
James Benton
b4e5bf4106 Change OS{Get,Set}ThreadSpecific to use void *. 2018-05-25 18:06:25 +01:00
James Benton
76844067dd Add OSSeconds to time.h 2018-05-25 17:13:40 +01:00
James Benton
d0f43d24b7 Fix size of OSThread structure 2017-11-01 11:00:18 +00:00
James Benton
d28f2f0a7a Fix formatting. 2017-06-02 11:50:57 +01:00
James Benton
0239462847 nsysnet: Add defines for UDP broadcast. 2017-06-02 11:50:43 +01:00
James Benton
ee9bd49c34 whb: Handle GPU hangs by resetting the GPU on shutdown.
So your application will exit cleanly even when you break the GPU.
2017-06-02 11:50:12 +01:00
James Benton
2100cea176 coreinit: Add OSGetSymbolName, OSGetUPID. 2017-06-02 11:42:42 +01:00
James Benton
5a07bf6c1d coreinit: Add DisassemblePPCRange. 2017-06-02 11:42:24 +01:00
James Benton
46b3c9c7e0 coreinit: Add OSEnableHomeButtonMenuhome button menu and OSIsHomeButtonMenuEnabled. 2017-06-02 11:41:54 +01:00
James Benton
a2cf3837a3 coreinit: Fix type from uint8_t * to void * in MEMExpHeap functions. 2017-06-02 11:41:03 +01:00
James Benton
c83ff22780 coreinit: Move OSContext to context.h 2017-06-02 11:40:41 +01:00
James Benton
bb05542e60 gx2r: Fix GX2R allocated memory flag. 2017-05-28 12:01:06 +01:00
James Benton
bd59620c56 gx2: Add GX2RResourceFlags to GX2Surface. 2017-05-28 12:01:06 +01:00
James Benton
576ab3fe4d coreinit: Fix missing threadqueue.h include in messagequeue.h 2017-05-26 18:24:14 +01:00
James Benton
c4aebac137 coreinit: Fix OSMessageFlags enum name. 2017-05-26 17:46:57 +01:00
James Benton
24c57e28c0 Add missing latte_enum_sq.h header required by libwhb. 2017-05-10 17:48:48 +01:00
James Benton
f177555ca3 gx2: Add some alignment values to gx2/enum.h 2017-05-10 17:28:09 +01:00
James Benton
5c9cc47e1c gx2: Add GX2TempGetGPUVersion. 2017-05-10 17:24:01 +01:00
James Benton
753226cff3 gx2: Add missing typedef enum names. 2017-05-10 17:23:44 +01:00
James Benton
f403512d5b coreinit: Fix OSDynLoad_FindExport isData to be a BOOL. 2017-05-10 17:22:37 +01:00
James Benton
5a91b91476 gx2: Fix return type of GX2GetSystemDRCScanMode. 2017-05-10 17:22:18 +01:00
James Benton
8c93d5b3c8 proc_ui: Add ProcUIRegisterCallback{Core}. 2017-05-10 17:21:57 +01:00
James Benton
d0dab12160 Add GX2_SHADER_PROGRAM_ALIGNMENT 2017-05-07 01:37:48 +01:00
James Benton
00a3d9d554 Change GX2 shader program pointers to void*. 2017-05-07 01:37:41 +01:00
James Benton
cdc07cac23 nsysnet: Update socket.h to use sys/time.h and sys/types.h 2017-04-10 23:19:21 +01:00
James Benton
840d91c62e coreinit: Add 32 bit atomic exports. 2017-04-10 23:19:21 +01:00
James Benton
604b18faf0 coreinit: Add missing fields to OSCalendarTime. 2017-04-10 23:19:21 +01:00
James Benton
9acc679c6f coreinit: Add missing argument to _Exit. 2017-04-10 23:19:21 +01:00
James Benton
6d5bb75cb3 coreinit: Update atomic64 to use pointer to volatile value. 2017-04-10 23:19:21 +01:00
James Benton
b7a4cba5c3 coreinit: Add OSScreenShutdown. 2017-04-07 01:24:37 +01:00
James Benton
45257957d0 coreinit: Add some IOS functions. 2017-04-07 01:24:37 +01:00
James Benton
6f51e6c76e Add nn_ac library. 2017-04-07 01:24:36 +01:00
James Benton
4dfe8d5ea6 nsysnet: Add some missing stuff. 2017-04-07 01:23:29 +01:00
James Benton
eb74acf209 vpad: Add VPADShutdown. 2017-04-07 01:23:07 +01:00
James Benton
9161baaee3 nsysnet: Do not rely on sys/socket.h or sys/time.h 2017-04-05 18:16:20 +01:00
James Benton
5405bca57e Add missing include to expandedheap.h 2017-03-23 12:17:47 +00:00
James Benton
bb7d180e40 Fix wut_structsize.h for compilers which do not have static_assert (pre C11) 2017-02-21 20:06:18 +00:00
dimok789
1a1a87a948 - keep .lib.rplLibs section. this allows use of --gc-sections and reduce RPX size - added a few memory functions 2016-11-06 21:11:14 -08:00
CreeperMario Games
d7a2af2a0b Added ICInvalidateRange to coreinit and modified Makefiles 2016-11-06 09:48:30 +10:30
James
48d2fcc314 Merge pull request #46 from dimok789/master
Link fixes for C++ applications and some additional enums and function declarations
2016-10-11 21:42:38 +01:00
James Benton
8aaa4de345 gx2: Remove internal function GX2RIsGX2RSurface. 2016-10-11 21:35:13 +01:00
dimok789
37330b5046 - added gx2 aa 2x and 4 and some additional primitive and surface enums
- added some gx2 logical ORed enums as typdef enum does not allow OR operations without a cast in C++
- added AXQuit in sndcore2
- added OSGetTitleID in coreinit
- removed not existing functions from nsysnet and added inet_ntoa
2016-10-11 19:17:18 +02:00
James Benton
8f38b15a72 Add missing .dox module files. 2016-10-09 21:25:33 +01:00
James Benton
d9bd766b4c coreinit: Cleanup formatting in coreinit/mcp.h 2016-10-09 21:16:56 +01:00
James Benton
4a595fba93 coreinit: Fill out MEMUnitHeap structure. 2016-10-09 21:16:40 +01:00
James Benton
0a34d5b7a2 coreinit: Fill out MEMExpandedHeap structure. 2016-10-09 21:16:26 +01:00
James Benton
f72cd983d3 gx2r: Fix GX2RBuffer->buffer member declaration. 2016-10-09 21:02:07 +01:00
James Benton
3f03e84d45 gx2: Remove duplicated GX2RResourceFlags enum. 2016-10-09 21:01:52 +01:00
James Benton
cf00f97167 gx2r: Add gx2r surface functions. 2016-10-09 20:58:15 +01:00
James Benton
467fb4e8ca gx2r: Add some gx2r memory functions. 2016-10-09 20:58:02 +01:00
James Benton
41cee3bd14 gx2r: Add some gx2r draw functions. 2016-10-09 20:57:50 +01:00
James Benton
bb3543b626 gx2r: Add gx2r display list functions. 2016-10-09 20:57:33 +01:00
James Benton
c70b7be365 gx2r: Add uniform block GX2RBuffer functions. 2016-10-09 20:57:17 +01:00
James Benton
b85e35dc7d gx2: Add some tessellation functions. 2016-10-09 20:56:30 +01:00
James Benton
29d6e56963 gx2: Add some more draw functions. 2016-10-09 20:56:16 +01:00
James Benton
a7b9e58c09 gx2: Add missing CHECK_OFFSET for GX2ShadowState. 2016-10-09 20:56:01 +01:00
James Benton
623661a39c coreinit: Move time macros from systeminfo.h to time.h 2016-10-09 20:36:33 +01:00
James Benton
9871c06e67 gx2: Add gx2r buffer functions. 2016-10-09 15:57:23 +01:00
shinyquagsire23
629465f33b GX2CalcColorBufferAuxInfo takes GX2ColorBuffer argument, not GX2Surface 2016-10-07 11:56:31 -06:00
James
1f30d4b785 Merge pull request #40 from shinyquagsire23/gx2-additions
Additional GX2 definitions from decaf-emu
2016-08-28 00:19:17 +01:00