Commit Graph

491 Commits

Author SHA1 Message Date
Dave Murphy
8ac08bad4e default loop mode is one shot 2015-02-19 18:48:31 +00:00
Dave Murphy
b40d605660 Merge branch 'master' into gpu_revamp 2015-02-19 18:35:10 +00:00
Dave Murphy
2a500c2d8f bump version for release 2015-02-15 13:34:39 +00:00
Dave Murphy
727d5d4767 Merge branch 'utf'
Conflicts:
	libctru/source/sdmc_dev.c
2015-02-15 13:28:34 +00:00
Dave Murphy
2c0ae0784d flush buffers on newline & screen clear 2015-02-15 13:24:05 +00:00
Dave Murphy
7e24c7766f switch to hard float 2015-02-15 01:26:16 +00:00
Dave Murphy
0b6d51bcca config files for cppcheck from Lioncash 2015-02-14 01:23:00 +00:00
Dave Murphy
71a59a1da3 Merge branch 'master' into devop_socket
Conflicts:
	libctru/source/services/soc/soc_ioctl.c
2015-02-12 15:52:15 +00:00
Dave Murphy
dc7ef6fd28 correct aptEventHandler signature 2015-02-11 22:15:13 +00:00
mtheall
2cf2b7f1e9 Fix soc_read/soc_write. 2015-02-11 22:15:12 +00:00
Dave Murphy
e4b636ed41 correct alloc_handle prototype 2015-02-11 22:15:12 +00:00
mtheall
e75fd8b648 Refactor soc to use errno. 2015-02-11 22:15:11 +00:00
mtheall
67f991e452 Fix poll() to only update revents. 2015-02-11 22:15:09 +00:00
mtheall
4fa477c039 First attempt at hooking sockets into a devoptab. 2015-02-11 22:15:09 +00:00
Dave Murphy
9fec42f38f fix gspEventThreadMain signature 2015-02-03 09:18:22 +00:00
Dave Murphy
91d5a79e6a Merge pull request #93 from LunarCookies/patch-1
HTTPC_AddRequestHeaderField Fix
2015-02-02 20:24:41 +00:00
LunarCookies
f993eac8a2 Update httpc.c 2015-02-02 19:51:20 +00:00
Dave Murphy
3f19e7920c threads take void * not u32 2015-02-02 19:30:08 +00:00
LunarCookies
8cab1f28d4 HTTPC_AddRequestHeaderField Fix 2015-02-02 13:46:58 +00:00
Dave Murphy
aa8ffe925e Merge pull request #69 from Slashmolder/master
Fix for issue #66
2015-02-01 15:35:57 +00:00
Dave Murphy
8af5a9946f fix handle leak in sdmc_stat 2015-02-01 15:19:22 +00:00
Lioncash
20431deb4e Guard against potential null pointer dereferences 2015-02-01 07:47:18 -05:00
mtheall
4573212176 Fix handle leak in sdmc_stat. 2015-01-27 23:28:06 -06:00
mtheall
d08168b7d5 Fix soc_read/soc_write. 2015-01-27 17:06:30 -06:00
Dave Murphy
b015bd312c correct alloc_handle prototype 2015-01-26 02:04:19 +00:00
mtheall
1cd7cfdab5 Refactor soc to use errno. 2015-01-24 14:14:06 -06:00
mtheall
f87d35042c Fix poll() to only update revents. 2015-01-24 11:48:50 -06:00
mtheall
7e58d84a37 Merge branch 'master' into utf 2015-01-23 15:07:44 -06:00
mtheall
8d9fefdc9b First attempt at hooking sockets into a devoptab. 2015-01-23 14:23:59 -06:00
fincs
92fe263569 Fix typo 2015-01-20 18:19:02 +01:00
fincs
d414258995 Le chapeau de cul: fix some broken things after the git rebase 2015-01-20 18:05:25 +01:00
fincs
983b38f626 Some more function renaming 2015-01-20 17:57:05 +01:00
fincs
3fafe70f3b CSND: add some capture commands 2015-01-20 17:55:26 +01:00
fincs
69ee2f97c5 Add CSND_AcquireCapUnit/CSND_ReleaseCapUnit 2015-01-20 17:55:25 +01:00
fincs
cbc1c645a6 CSND: IMA-ADPCM playback support, really fix looping 2015-01-20 17:55:24 +01:00
fincs
671ea5f555 Add CSND_ChnSetDuty() 2015-01-20 17:55:24 +01:00
fincs
e562b15a68 CSND: many looping-related discoveries 2015-01-20 17:54:35 +01:00
fincs
ce902bd6d1 It's always a missing 4 that makes it b0rk 2015-01-20 17:54:34 +01:00
fincs
bc085b5eb1 Clean the CSND code a bit more 2015-01-20 17:54:34 +01:00
fincs
59009d531d Partially fix csndChnGetState() and csndChnIsPlaying() 2015-01-20 17:54:33 +01:00
fincs
c042ff5a6c csndSharedMem should be volatile, disable PA->VA conv in csndChnGetState 2015-01-20 17:53:53 +01:00
fincs
e943b25bc5 CSND: move waiting code to csndExecChnCmds() 2015-01-20 17:53:52 +01:00
fincs
b15eb566dd Separate left & right volumes in CSND_ChnSetVol 2015-01-20 17:53:51 +01:00
fincs
dba29fe501 CSND: function renaming, refactoring, etc. 2015-01-20 17:53:51 +01:00
fincs
840088a02b Begin CSND refactoring 2015-01-20 17:52:30 +01:00
Emmanuel Gil Peyrot
dc887e7ccf add missing include for gfxScreen_t in console.h 2015-01-18 18:22:13 +01:00
mtheall
b7ec5341b9 Add UTF-8 <-> UTF-16 support. 2015-01-16 11:44:05 -06:00
Dave Murphy
a2ce1e13ca explicitly set screen modes, get flushbuffer size from mode 2015-01-07 15:09:21 +00:00
Dave Murphy
8087dc8aea roll a new libctru release 2015-01-06 12:47:47 +00:00
Dave Murphy
0a3bb7bcad allow for extenstion beyond 256 characters 2015-01-06 12:28:16 +00:00
Dave Murphy
93de4971bd full 256 character font 2015-01-06 12:27:37 +00:00
Dave Murphy
168d967743 __libc_init_array needs run after stack adjustment, __libc_fini_array before original stack is restored 2015-01-04 15:00:11 +00:00
smea
ed72f9474b fixed linear/vram mem align 2015-01-04 12:45:30 +01:00
smea
8d274afd13 fixed shaderProgramUse so that programs without geoshaders will play nice with those with 2015-01-03 18:06:22 -08:00
smea
100f72c193 fixed linear/vram mem align 2015-01-03 18:00:55 -08:00
smea
b7ab3f9a54 shbin.c cleanup, shaderInstanceGetUniformLocation 2015-01-02 21:22:37 -08:00
smea
5df4902c4e GPU_SetUniform -> GPU_SetFloatUniform 2015-01-02 21:16:17 -08:00
smea
8b84747df3 updated gpu.c to use new convention 2015-01-02 21:14:03 -08:00
smea
d195917ec1 minifix + geoshader stride 2015-01-02 19:39:37 -08:00
smea
a1830973c7 minifix 2015-01-02 19:29:02 -08:00
smea
80e6bcfd34 shaderProgram 2015-01-02 19:16:23 -08:00
smea
cd05cc45ff started work on shaderProgram 2015-01-02 17:15:44 -08:00
Dave Murphy
74c37b4e87 and protect from double exit 2015-01-03 00:45:31 +00:00
Dave Murphy
d6e0e5b198 free screens from where they were allocated 2015-01-03 00:43:21 +00:00
smea
28fee06006 minifix 2015-01-02 16:41:07 -08:00
Dave Murphy
897498f0c1 add parameters to gfxInit, add gfxInitDefault function 2015-01-03 00:02:49 +00:00
Dave Murphy
abfb15af1b use struct for channel status array 2015-01-02 22:42:12 +00:00
Dave Murphy
39605bc6e2 add macros for packing and aligning 2015-01-02 22:42:11 +00:00
profi200
42d96bf184 Fixed CFGU_GenHashConsoleUnique() header code. 2015-01-01 13:39:23 +01:00
smea
1b80b69e73 Merge branch 'master' into gpu_revamp 2014-12-31 13:35:40 -08:00
smea
3c4c2a6c04 Merge branch 'master' into gpu_revamp 2014-12-31 13:34:25 -08:00
Slashmolder
71ae462ba9 Fix for issue #66 2014-12-30 15:39:26 -08:00
Dave Murphy
2712498d2d oops 2014-12-30 23:00:31 +00:00
Dave Murphy
192b88b6a2 allow user configurable stack 2014-12-30 22:45:55 +00:00
Dave Murphy
c68afb5f31 check for directory in stat too and set st_mode appropriately 2014-12-30 20:39:49 +00:00
yellows8
c1d8df8b68 Implemented actual code for sdmc_stat(). 2014-12-30 01:04:55 -05:00
Dave Murphy
da496b6a89 revert stack changes, broken on hardware :( 2014-12-30 04:05:12 +00:00
Dave Murphy
02011660d5 add literal pool 2014-12-30 03:19:06 +00:00
Dave Murphy
5f95d314cb or bss might be better 2014-12-30 00:04:34 +00:00
Dave Murphy
7e51b3888e oops, forgot these need to be in data section 2014-12-30 00:02:55 +00:00
Dave Murphy
2ed782f5f3 Set default stack to 32K, allow user adjustment 2014-12-29 23:52:51 +00:00
profi200
18190a0237 Added more cfg:u cmds. 2014-12-29 23:31:15 +01:00
profi200
bb5c4a6ca8 Simplified reading the system language by adding a wrapper. Print only once in the get_system_language example. 2014-12-29 22:46:59 +01:00
smea
05e886c9fa fixed up DVLE_SendOutmap 2014-12-27 11:22:48 -08:00
profi200
5524e700b4 Merge branch 'master' of github.com:smealum/ctrulib 2014-12-27 02:35:33 +01:00
smea
800cb7b566 Update apt.c 2014-12-26 12:51:01 -08:00
smea
8e6056f1a0 Update fs.c 2014-12-26 12:50:34 -08:00
smea
dac642f613 Update sdmc_dev.c 2014-12-26 12:49:19 -08:00
smea
805e757b49 Update hid.c 2014-12-26 12:46:01 -08:00
smea
95fe42b294 Update hid.c 2014-12-26 12:45:25 -08:00
profi200
eb0f771409 Replaced spaces in cfgu.c. 2014-12-26 02:46:38 +01:00
profi200
54f2afcb19 Added CFGU_GetConfigInfoBlk2() and an example. 2014-12-26 02:31:59 +01:00
Dave Murphy
78b94b4eea auto initialise commonly used services, prevent double initialisation 2014-12-25 23:27:36 +00:00
Dave Murphy
f6ec685086 give function the right name 2014-12-25 11:01:08 +00:00
Dave Murphy
b5cd5e10c8 include header for memcpy 2014-12-25 10:52:52 +00:00
Dave Murphy
766ee2c703 split up sysyem initialisation and allow overriding 2014-12-25 10:50:38 +00:00
smea
7f0d169c10 fixed hb naming 2014-12-24 21:06:09 -08:00
smea
8f9a2edd1a additional HB stuff 2014-12-23 21:05:55 -08:00
smea
2c04f993d6 added HB service support (ninjhax only) 2014-12-23 20:47:00 -08:00
yellows8
1a72193dc5 Added qtm support + example. 2014-12-21 01:02:23 -05:00