Commit Graph

962 Commits

Author SHA1 Message Date
Steven Smith
375fbce98a Service cleanup. 2015-11-11 08:57:54 -08:00
smea
9c98fe54b1 Merge pull request #214 from thedax/great-refactor-fix
Pretty sure it's not a good idea to decrement a handle.
2015-11-09 13:37:19 -08:00
thedax
67a1384564 Pretty sure it's not a good idea to decrement a handle. 2015-11-09 16:31:31 -05:00
fincs
c12c0aace3 Merge pull request #212 from Steveice10/newss
Add news:s support.
2015-11-08 22:53:12 +01:00
Steven Smith
65eaba5b2d Add news:s support. 2015-11-08 13:26:29 -08:00
fincs
3d66e29a5d Merge pull request #211 from Steveice10/fix-139
Fix #139
2015-11-08 21:13:32 +01:00
Steven Smith
891df76804 Fix #139 2015-11-08 12:00:33 -08:00
fincs
c3da3c3057 Merge pull request #210 from Steveice10/mic-fix
Fix MIC cutting off a second of audio.
2015-11-08 20:29:31 +01:00
Steven Smith
abdfec701f Fix MIC cutting off a second of audio. 2015-11-08 11:24:04 -08:00
fincs
7440ca7901 Merge pull request #205 from Steveice10/great-refactor
Rewrite MIC service code, clean up microphone example.
2015-11-08 00:22:47 +01:00
Steven Smith
d2f772c960 Rewrite MIC service code, clean up microphone example. 2015-11-07 08:57:48 -08:00
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