Commit Graph

1001 Commits

Author SHA1 Message Date
fincs
3aa4bdf6e9 Fix #206 2015-11-07 12:46:24 +01:00
fincs
24a84a874f Fix some mistakes in 2797540a 2015-11-07 01:52:35 +01:00
fincs
2797540a3d Revise most services to follow these guidelines:
- Each service must have xyzInit/xyzExit (with that name)
- xyzInit/xyzExit use reference counting
- xyzExit returns void
- The utilities in <3ds/result.h> are used instead of manual error checking
- The intrinsics in <3ds/synchronization.h> are used instead of inline asm
- Other miscellaneous changes
  - APT now uses a lightweight lock instead of a mutex
  - Initial handle parameters in PTMU were killed
  - Explicit init'ion to 0 or NULL has been removed for global variables
    since they end up on .bss anyway
  - MIC hasn't been touched because it must be rewritten first
  - CFGNOR needs a slight touch before converting
  - SOC is still to be cleaned up
2015-11-07 01:25:31 +01:00
fincs
e01dfbc392 synchronization.h: Add DSB & several atomic operations 2015-11-07 01:07:11 +01:00
fincs
7b25a0d4d4 Add <3ds/result.h> header - 3DS result codes 2015-11-07 01:04:31 +01:00
fincs
2686b57c88 Fix #204 2015-11-06 20:39:41 +01:00
fincs
b33b4eb2d0 Minor cleanup in os.h/os.c + add osGet3DSliderState() 2015-11-05 12:33:43 +01:00
fincs
2ce51cf3d8 Add more (void) and remove more service handle parameters 2015-11-05 11:48:23 +01:00
fincs
e4775572c2 Merge branch 'master' into great-refactor
# Conflicts:
#	libctru/include/3ds/services/httpc.h
2015-11-01 14:14:01 +01:00
fincs
6b40ea9d8e Roll out a new libctru build 2015-11-01 13:59:34 +01:00
yellows8
facb701ae9 Fixed the use_defaultproxy value used by the http example. 2015-10-29 15:27:39 -04:00
yellows8
27469de3c1 Removed an unused debug line in httpc.c. Set the httpc servhandle to zero in httpcExit(), this fixes using httpcInit() after httpcExit(). Fixed the use_defaultproxy comment in httpc.h. 2015-10-29 15:21:08 -04:00
fincs
7914b41107 Merge branch 'master' into great-refactor 2015-10-28 13:34:17 +01:00
fincs
9360cd6a7d Merge pull request #158 from Lectem/patch-1
Protocol numbers and sockopt IP level
2015-10-28 13:18:37 +01:00
yellows8
76e47c02c8 Changed gfxSwapBuffers() to gfxSwapBuffersGpu() in consoleInit(). This fixes the black-screen issue with the text-console on certain systems(such as old3ds v9.0-v9.2). 2015-10-27 19:34:07 -04:00
smea
ca356af42c Merge branch 'master' of github.com:smealum/ctrulib 2015-10-27 10:59:56 -07:00
smea
af34e85ab2 added support for other cfg service names 2015-10-27 10:59:52 -07:00
fincs
6bdfa1a005 aptInit(): Wait for APT_RUNNING (solves certain timing problems) 2015-10-26 21:19:00 +01:00
fincs
f362ae62a0 More NDSP wavebuf queue fixes 2015-10-24 21:56:40 +02:00
fincs
a35abcb901 APT: fix status event issue that breaks things under certain circumstances 2015-10-24 13:48:15 +02:00
fincs
8cc5dec1b2 NDSP: some more safety checks and fixes 2015-10-24 13:47:31 +02:00
fincs
b3e6a64596 Really really fix NDSP wavebuf scheduling, this time for real 2015-10-24 01:47:23 +02:00
fincs
28f73801cc Really fix NDSP wavebuf scheduling 2015-10-24 01:05:23 +02:00
fincs
ebad126fc0 Fix NDSP wavebuf synchronization issue (thanks to Lectem) 2015-10-24 00:54:57 +02:00
fincs
f06d37659c Merge branch 'master' into great-refactor 2015-10-22 22:56:14 +02:00
fincs
25d177f5d0 Merge pull request #198 from wchill/camera-example
Fix camera example bug and add video capture example
2015-10-22 22:49:44 +02:00
Eric Ahn
dc40c55285 Fix freezing on camera image example, add camera video example 2015-10-22 12:37:12 -05:00
fincs
31382e6a34 Merge branch 'master' into great-refactor 2015-10-22 11:34:33 +02:00
fincs
d4ba60aff9 Merge pull request #196 from wchill/camera-example
Add camera example
2015-10-22 11:33:55 +02:00
Eric Ahn
f39862a3ea Add camera example 2015-10-22 04:31:51 -05:00
fincs
9435477699 Merge pull request #197 from Lectem/y2r_finished
Y2R : Added the missing struct and functions
2015-10-22 11:26:08 +02:00
Lectem
15bca44322 Added the missing struct and functions 2015-10-21 22:12:38 -04:00
smea
89fc70f076 fixed bug which caused gsp shared mem to never be unmapped when using gfx 2015-10-20 23:03:49 -07:00
smea
bba6b90ba0 fixed bug which caused gsp shared mem to never be unmapped when using gfx 2015-10-20 23:03:03 -07:00
fincs
07d5367ed4 Some additions to NDSP code (thanks to Lectem) 2015-10-18 23:06:11 +02:00
fincs
807e3db7f2 Merge branch 'master' into great-refactor 2015-10-11 23:49:25 +02:00
fincs
e12c8ff6a6 Add code to manage New 3DS CPU speedup
# Conflicts:
#	libctru/include/3ds/os.h
#	libctru/include/3ds/services/ptm.h
2015-10-11 23:47:23 +02:00
fincs
942ec4af9b Add code to manage New 3DS CPU speedup 2015-10-11 23:44:10 +02:00
fincs
3cb20a965b Do not include the source folder in Doxygen, tidy up README.md 2015-10-10 02:04:16 +02:00
fincs
839289378b Remove Doxygen version tag due to generated files being changed for every single commit 2015-10-10 01:56:39 +02:00
fincs
5e7fe49422 Merge pull request #193 from Lectem/patch-2
Document the loop behaviour of csndPlaySound
2015-10-10 01:44:27 +02:00
Lectem
f14d5721eb Document the loop behaviour of csndPlaySound 2015-10-09 19:41:29 -04:00
fincs
b5009a3430 Merge branch 'great-refactor' of github.com:smealum/ctrulib into great-refactor 2015-10-10 00:13:42 +02:00
fincs
80c76ee8d7 Add encrypted token for Travis CI documentation building 2015-10-10 00:13:05 +02:00
fincs
818cd4ac39 Merge remote-tracking branch 'Lectem/travis_ci' into great-refactor 2015-10-10 00:10:17 +02:00
Lectem
5f648ff9d4 add commit number and readme.md to doc 2015-10-09 17:58:42 -04:00
Lectem
0c2a52a467 travis CI 2015-10-09 17:58:34 -04:00
Lectem
be64a95c74 Added INADDR_LOOPBACK define 2015-10-09 13:37:01 -04:00
fincs
791da049d5 Merge pull request #191 from Steveice10/great-refactor
Fix DSP_SendData writing the value to the wrong index.
2015-10-09 10:18:08 +02:00
Steven Smith
a5ad20cc46 Fix DSP_SendData writing the value to the wrong index. 2015-10-08 23:04:13 -07:00