Commit Graph

414 Commits

Author SHA1 Message Date
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
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
0a3bb7bcad allow for extenstion beyond 256 characters 2015-01-06 12:28:16 +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
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
Dave Murphy
a58f2def09 set errno for file too big 2014-12-21 03:13:15 +00:00
mtheall
edf2c1c139 Add gfxGetScreenFormat(). 2014-12-19 23:38:30 -06:00
fincs
6aa30b4c3e Fix osGetTime(), this time for real (also: race condition fix by mtheall) 2014-12-19 19:47:10 +01:00
smea
e3017fa304 made small adjustments to shdr.c 2014-12-18 22:35:13 -08:00
smea
db11dd9bbc GPUCMD_AddMaskedWrite, GPUCMD_AddWrite, GPUCMD_AddMaskedWrites, GPUCMD_AddWrites, GPUCMD_AddMaskedIncrementalWrites, GPUCMD_AddIncrementalWrites 2014-12-18 21:11:53 -08:00
smea
5f10c8ee74 added registers.h 2014-12-17 22:47:41 -08:00
smea
934f0f80b0 Revert "Merge branch 'master' of github.com:smealum/ctrulib"
This reverts commit f934dc0982, reversing
changes made to 60edc69d73.
2014-12-17 22:41:31 -08:00
smea
f934dc0982 Merge branch 'master' of github.com:smealum/ctrulib 2014-12-17 22:28:39 -08:00
smea
7692b4eb54 added registers.h 2014-12-17 22:28:26 -08:00
Dave Murphy
60edc69d73 sdmc_open: implement O_EXCL and O_TRUNC 2014-12-15 23:23:04 +00:00
Dave Murphy
93dbdfd74a stop svcOutputDebugString trashing string 2014-12-15 02:40:11 +00:00
plutoo
f9dee4c2c0 Merge pull request #52 from Aurelio92/2-new-hid-function
Added 2 hid functions
2014-12-15 01:46:49 +01:00
plutoo
a720cb6e49 Reverting previous commit, fixing more resource leaks 2014-12-15 01:43:18 +01:00
plutoo
a3febb5fe1 Proposed fix for issue #66 2014-12-15 01:36:25 +01:00
plutoo
2d22fcd5e5 Fixed handle leak in httpc 2014-12-15 01:33:37 +01:00
mtheall
d93524b393 Fix inet_aton. 2014-12-14 14:56:20 -06:00
fincs
99186f4258 Add a VRAM allocator 2014-12-14 17:47:34 +01:00
profi200
e99b0def40 Fixed weird blackscreen issue 2014-12-14 00:21:29 +01:00
fincs
60d7d571e6 Fix linear.cpp 2014-12-13 20:05:48 +01:00
Dave Murphy
c76ea75ae2 stop building everything when any header changes 2014-12-13 16:36:54 +00:00
Dave Murphy
ab3b081398 allow redirecting stderr to 3dmoo 2014-12-13 14:03:12 +00:00
Aurelio Mannara
9849deca01 Added 2 hid functions
-Added HIDUSER_GetGyroscopeRawToDpsCoefficient(float *coeff)
-Added HIDUSER_GetSoundVolume(u8 *volume)
2014-12-13 13:10:54 +01:00
Dave Murphy
478d11f468 render strikethrough & underline 2014-12-13 03:19:57 +00:00
Dave Murphy
7bcd9b2270 make it build 2014-12-13 03:11:21 +00:00
Dave Murphy
b05f574889 fix formatting 2014-12-13 03:07:41 +00:00
Dave Murphy
5c64201fa5 unneeded default case 2014-12-13 03:07:00 +00:00
Dave Murphy
94591dc5f7 better parameter checking 2014-12-13 02:58:07 +00:00