Commit Graph

189 Commits

Author SHA1 Message Date
fincs
27be99a793 Add proper linear heap allocator 2014-09-17 00:22:30 +02:00
fincs
2c589cd2ef linearAlloc: use 16-byte alignment 2014-09-16 22:24:26 +02:00
fincs
e26017a75c Merge branch 'refactor' of https://github.com/StapleButter/ctrulib into refactor 2014-09-13 18:00:23 +02:00
StapleButter
8b27dbe623 * Make the GSP event handler signal events in the right order (essential for proper PICA200 sync)
* Add some comments about the GSP events (based on my observations, may not be right)
2014-09-13 17:01:20 +02:00
plutoo
b832ed5179 Merge pull request #10 from StapleButter/refactor
Fix FS init.
2014-09-11 21:04:35 +02:00
StapleButter
ad08977e37 Fix FS init. 2014-09-11 21:02:56 +02:00
yellows8
a9f4b3402b Fixed broken CSND_playsound() code for looping(use vaddr1 for that instead of vaddr0, and adjust the size). 2014-09-06 17:49:48 -04:00
plutoo
449ead1141 os: Added osGetTime(). 2014-09-06 21:07:26 +02:00
yellows8
63c3e5af0d Fixed mic example README. 2014-09-03 14:38:47 -04:00
yellows8
aa77f9b1e2 Added code for using the microphone and an example app for it. 2014-09-03 14:36:05 -04:00
fincs
38a442ae10 Merge pull request #7 from profi200/refactor
refactor
2014-09-01 20:21:55 +02:00
profi200
a2f32f91c1 Now the same as in master 2014-09-01 15:51:53 +02:00
profi200
3d34e123ee Added functions for sysCore usage 2014-09-01 15:49:32 +02:00
yellows8
62f26e8760 Improved HID code, and added Accelerometer/Gyroscope support. 2014-08-30 20:41:09 -04:00
yellows8
9425edc406 Added HID event code, based on the GSP event code. Added event id check in gspWaitForEvent(). 2014-08-29 16:19:58 -04:00
smea
2a1c7c8ea9 some GSP and GPU fixes 2014-08-28 22:53:45 -07:00
fincs
b41f1ca796 Merge branch 'refactor' of github.com:smealum/ctrulib into refactor 2014-08-28 00:02:56 +02:00
fincs
0275d6a924 initSystem: fix global ctor/dtor code 2014-08-28 00:00:53 +02:00
fincs
125398a52f Refactor linear heap code (formerly known as GSP heap) 2014-08-27 23:44:38 +02:00
yellows8
f37a7b004f Added checks for the array index code in hid.c. 2014-08-27 17:42:53 -04:00
fincs
16544492a2 Fix KEY_CRIGHT/CLEFT 2014-08-27 12:03:25 +02:00
smea
335acee5d5 Merge branch 'refactor' of github.com:smealum/ctrulib into refactor
Conflicts:
	libctru/include/3ds/types.h
2014-08-26 23:13:36 -07:00
smea
9e78466af8 added stdlibs for size_t 2014-08-26 23:12:33 -07:00
mtheall
43661f8263 Add FSUSER_GetSdmcArchiveResource(). 2014-08-26 19:01:00 -05:00
mtheall
a2911e4883 Add word 2 to response for FSUSER_IsSdmcDetected() and FSUSER_IsSdmcWritable(). 2014-08-26 17:54:52 -05:00
mtheall
2eadd6d0b2 FIX DERP. 2014-08-26 17:43:34 -05:00
fincs
9b370c7eff Reorganize includes 2014-08-26 23:18:14 +02:00
mtheall
a253b10b24 Merge branch 'refactor' of github.com:smealum/ctrulib into refactor 2014-08-26 15:58:24 -05:00
mtheall
cad12973c8 Add FSUSER_IsSdmcDetected() and FSUSER_IsSdmcWritable(). 2014-08-26 15:58:18 -05:00
fincs
8b9666ac40 3ds/types.h: #include <stddef.h> 2014-08-26 22:56:38 +02:00
fincs
589c59fab7 Move 3ds.h to root, add C++ guard, use #pragma once 2014-08-26 22:53:00 +02:00
fincs
9e89151f22 Add .gitignore to examples 2014-08-26 22:51:50 +02:00
smea
45c7f027d8 gpu: shader fix 2014-08-25 23:44:52 -07:00
smea
8e86af967a added Makefile rule to compile vsh shader code to gpu example (fincs, can you see if you can improve it ?) 2014-08-25 23:26:36 -07:00
smea
0aff9c6902 so sick of all these includes 2014-08-25 22:55:12 -07:00
smea
19071d7fb1 moved some things around 2014-08-25 22:38:37 -07:00
smea
ca0cecec57 cleaned up gpu example code 2014-08-25 22:27:28 -07:00
smea
d30d5283c6 GSP/GFX stuff 2014-08-25 21:48:00 -07:00
smea
4f397abd63 added WIP GPU example code 2014-08-25 21:47:50 -07:00
smea
b9d6ffe8f2 oops, looks like i was editing deprecated files 2014-08-25 21:35:53 -07:00
smea
d287719900 Merge branch 'refactor' of github.com:smealum/ctrulib into refactor
Conflicts:
	libctru/source/gfx.c
2014-08-25 21:32:00 -07:00
smea
47284dcd34 GPU stuff 2014-08-25 21:31:12 -07:00
mtheall
91f7e56129 Fix NULL handling for PTMU_GetBatteryLevel() and PTMU_GetBatteryChargeState(). 2014-08-25 23:24:06 -05:00
mtheall
4c04373046 Update FS_dirent. 2014-08-25 19:38:17 -05:00
plutoo
716fd86057 Merge branch 'refactor' of https://github.com/smealum/ctrulib into refactor 2014-08-25 23:12:35 +02:00
plutoo
dc052c19ee gsp: Added gspAllocLinear() to allocate from LINEAR heap
Required by CSND, for example
2014-08-25 23:11:53 +02:00
smea
56d9f4abb3 Merge branch 'refactor' of github.com:smealum/ctrulib into refactor 2014-08-25 09:40:10 -07:00
smea
8f3997e3a7 PTM & AC stuff 2014-08-25 09:14:48 -07:00
fincs
fa18d4750b gfxInit(): initialize GSP event handler, use __gsp_heap_size 2014-08-25 12:07:00 +02:00
smea
14312cf851 APT WORKAROUND fix 2014-08-24 23:36:37 -07:00