Commit Graph

26 Commits

Author SHA1 Message Date
fincs
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
rw-r-r-0644
c377cffe13
Network socket changes (#136) 2021-03-07 13:09:12 +01:00
Maschell
af99d5acbd libwhb: Use FS_ERROR_FLAG_ALL instead of -1 2021-01-01 17:21:44 +01:00
Maschell
bc6ee14ca3
WHB: Fix missing FSDelClient (#158) 2020-11-28 16:18:34 +00: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
Ash Logan
1df3d9a40d whb/gfx: Capitalise v in WHBGfxGetTVColourBuffer
All the other public whb/gfx functions capitalise DRC and TV, so do that 
here.
2020-02-10 15:12:22 +11:00
James Benton
b895e7b56d whb: Fix WHB console for foreground releasing and acquire. 2019-11-24 12:25:17 +00:00
James Benton
cd6e74fd17 whb: Fix WHBGfxShutdown when app is in background. 2019-11-24 11:52:47 +00:00
James Benton
ac17c9a885 whb/gfx: Add some functions to access colour / depth / context. 2019-11-23 11:39:43 +00:00
James Benton
e9f8b191e5 whb: Only register home button denied callback when booted from HBL. 2019-11-23 11:32:13 +00:00
James Benton
7d0f02b5e6 whb: Remove useless command server code.
Not sure why this was ever in WHB....
2019-11-23 11:31:57 +00:00
fincs
ee3bb10df4 First pass at adopting a devkitPro-style build system, see details:
- Added wut_rules and wut/rpx/rpl.specs to share/
- Replaced wut's CMake-based buildsystem with a standard Makefile
- Conflated all wut libraries into a single libwut.a library
- wut's old buildsystems (CMake & plain make) are broken as a result,
  this will be fixed in the future
- Docs, tests and samples are not buildable either at the moment
- wutcrt/wutnewlib:
  - RPX start function is __rpx_start, while RPL is __rpl_start
  - __init/fini_wut_* functions are no longer weak
  - __init_wut/__fini_wut are instead weak
  - Removed _exit implementation
  - exit syscall now points to _Exit instead of pointing to itself
- wutstdc++:
  - Renamed .cc files to .cpp
  - Temporarily disabled, due to an issue that will be addressed shortly
- wutdevoptab:
  - Fixed uninitialized variable warnings in __wut_fs_read/write
2019-02-12 12:46:28 +01:00
James Benton
fb4a54fc4c Rename GX2_SQ_SELMASK macro to GX2_SEL_MASK. 2018-10-21 15:24:25 +01:00
James Benton
857fcd8eea Build libraries with -Wall and -Werror. 2018-10-06 10:50:32 +01:00
James Benton
6f014e48d2 Remove last usages of GLOB_RECURSE. 2018-06-28 16:01: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
f11112ca0f Change LATTE_SQ_SEL to GX2_SQ_SEL.
latte is private stuff yo.
2018-05-31 11:19:39 +01:00
James Benton
4e2099a2e4 whb: Add missing GX2Invalidate call.
GX2RUnlockBuffer is supposed to be calling invalidate for us.... but it
does not seem to work and we require an explicit invalidate instead?!?!
2018-05-31 10:10: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
a5d15a7a3a Remove libdefaultheap.
Replaced by coreinit data exports.
2018-05-29 10:52:40 +01:00
dibas
45e0904a69 WHBGfx - Separate ClearColor() and allow custom colors. 2018-05-28 11:42:13 +01:00
James Benton
2b165bf887 Improve time conversion macros. 2018-05-28 11:39:36 +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
4a32445ed5 whb: Add a log console. 2018-05-25 11:48:14 +01:00
James Benton
7e788f47af Add libdefaultheap, libgfd, libwhb. 2018-05-23 11:10:10 +01:00