Commit Graph

339 Commits

Author SHA1 Message Date
James Benton
2c18b246ae whb: Fix proc to better support HBL launched applications.
Should exit cleanly to HBL now.

TODO: Is it possible to auto detect if we were launched from HBL?
2017-06-02 11:48:59 +01:00
James Benton
79345f239f whb: Add crash handler based off the one in coreinit.
Although I'm not convinced it's actually working... yet.
2017-06-02 11:47:28 +01:00
James Benton
b79a58dec2 whb: Add SD card mounting support. 2017-06-02 11:46:31 +01:00
James Benton
fb325ec894 whb: Add UDP logging support. 2017-06-02 11:46:15 +01:00
James Benton
fb38792da9 whb: Add missing include to gfx.h 2017-06-02 11:44:04 +01:00
James Benton
c81a06048f gfd: Add GFDGetLastErrorString. 2017-06-02 11:43:41 +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
cef331cc09 whb: Add GFD texture loading with WHBGfxLoadGFDTexture, WHBGfxFreeTexture. 2017-05-28 12:01:06 +01:00
James Benton
3c47d28082 whb: Fix missing includes. 2017-05-28 12:01:06 +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
660e16a071 Merge pull request #53 from rw-r-r-0644/master
renamed crt-lite crt0.s to crt0.S to fix cmake issues
2017-05-17 08:07:26 -07:00
rw-r-r-0644
1eec51cee1 renamed crt-lite crt0.s to crt0.S to fix cmake issues 2017-05-16 22:11:15 +02:00
James Benton
7e484d94ba Remove autogenerated registers from sample shader 2017-05-11 20:00:01 +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
d307252772 cmake: Fix wut-toolchain.cmake with empty CMAKE_{INCLUDE,LIBRARY}_PATH. 2017-05-10 17:47:11 +01:00
James Benton
bf4ddae73d Add gx2 triangle hello world.
Shader assembled using the latte-assembler tool in decaf-emu repo.
2017-05-10 17:32:37 +01:00
James Benton
2cb787fabf Add libwhb - WUT HomeBrew library.
A library with utility functions for helping create simple homebrew
applications.

Mainly based off shinyquagsire23's gx2 sample.
https://github.com/shinyquagsire23/gx2texture2D
2017-05-10 17:30:34 +01:00
James Benton
f177555ca3 gx2: Add some alignment values to gx2/enum.h 2017-05-10 17:28:09 +01:00
James Benton
91621b39b1 cmake: Rename libgfd target to gfd.
So we get libgfd.a instead of liblibgfd.a
2017-05-10 17:27:50 +01:00
James Benton
ad35efc97c Add libdefaultheap.
Gives you access to MEMAllocFromDefaultHeap{Ex} and MEMFreeToDefaultHeap.
This is a workaround until we can support data imports.
2017-05-10 17:27:00 +01:00
James Benton
c9d177651e gx2: Add missing GX2GetSwapStatus export. 2017-05-10 17:24:10 +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
98fe3cef0e cmake: Use CMAKE_INCLUDE_PATH and CMAKE_LIBRARY_PATH in wut-toolchain.cmake 2017-05-10 17:23:32 +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
fcafa791b3 Add libgfd. 2017-05-07 01:38:01 +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
bfeac63818 Rearrange source tree. 2017-05-07 01:37:13 +01:00
James Benton
cbb377b4b6 Add "crt-lite", builds an empty crt0 without C runtime stuff (such as malloc and devoptap). 2017-05-05 17:00:33 +01:00
James Benton
def87c9bc8 Fix zlib debug library path. 2017-05-05 16:59:24 +01:00
James Benton
b35f142997 Use -mno-sdata 2017-04-13 11:50:07 +01:00
James Benton
b1c5c4a4e5 Fix trampling of r3,r4 in crt0.S 2017-04-13 00:44:05 +01:00
James Benton
e04b987390 Update to support linking with newlib. 2017-04-10 23:19:21 +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
618f48d144 Update README.md 2017-04-08 12:14:20 +01:00
James
6fd39535e3 Merge pull request #50 from CreeperMario/master
Pong: Fix build issues with CMake
2017-04-08 12:13:48 +01:00