17 Commits

Author SHA1 Message Date
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