Commit Graph

465 Commits

Author SHA1 Message Date
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
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
Dave Murphy
6728df3556 one Makefile to rule them all 2015-01-03 00:25:00 +00:00
Dave Murphy
2cc62ba17f move mic example to audio subfolder 2015-01-03 00:10:32 +00:00
Dave Murphy
81e93f867b update examples to use gfxInitDefault 2015-01-03 00:06:22 +00: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
yellows8
17298ffc2e Merge pull request #75 from profi200/master
Fixed CFGU_GenHashConsoleUnique() header code.
2015-01-01 11:26:04 -05:00
profi200
42d96bf184 Fixed CFGU_GenHashConsoleUnique() header code. 2015-01-01 13:39:23 +01: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
yellows8
02b9cd468c Merge pull request #73 from profi200/master
Added more cfg:u cmds.
2014-12-29 17:33:27 -05:00
profi200
18190a0237 Added more cfg:u cmds. 2014-12-29 23:31:15 +01:00
yellows8
6752ec877e Merge pull request #70 from profi200/master
Added CFGU_GetConfigInfoBlk2(), CFGU_GetSystemLanguage(), and an example.
2014-12-29 16:53:00 -05: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
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
4f08f191ff Better in hex. 2014-12-26 03:03:40 +01:00
profi200
9ab796b058 Forgot to finish the changes on the get_system_language example. 2014-12-26 02:57:49 +01:00
profi200
eb0f771409 Replaced spaces in cfgu.c. 2014-12-26 02:46:38 +01:00
profi200
80c9b397ba Merge branch 'master' of github.com:smealum/ctrulib 2014-12-26 02:34:07 +01:00
profi200
54f2afcb19 Added CFGU_GetConfigInfoBlk2() and an example. 2014-12-26 02:31:59 +01:00
Dave Murphy
b0b125cc20 use stdio and malloc 2014-12-26 01:11:13 +00:00
Dave Murphy
0f8a756276 put data in C file where it belongs 2014-12-26 00:57:54 +00: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
Dave Murphy
01e939aba9 Merge pull request #57 from Aurelio92/example-HelloWorld
Added a Hello World example
2014-12-24 19:35:53 +00:00
Dave Murphy
ced5424bd4 add library template 2014-12-24 19:32:49 +00:00
Dave Murphy
2c4e229370 move template to examples/templates/application 2014-12-24 19:32:18 +00: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