Michael Theall
a1157f7b8b
Fix comparator for overflow check
2015-11-20 09:44:58 -06:00
fincs
b21fa8a57f
Fix typo in documentation that broke generation for FS and CFGU
2015-11-19 23:08:18 +01:00
Michael Theall
c0f75ae42b
Robustify UTF translation
2015-11-19 13:49:31 -06:00
fincs
3714fa3810
Merge branch 'master' into great-refactor
...
# Conflicts:
# libctru/include/3ds/services/fs.h
# libctru/source/os.c
# libctru/source/romfs_dev.c
# libctru/source/services/fs.c
2015-11-19 11:44:59 +01:00
fincs
3fbea733c6
Add fsUseSession/fsEndUseSession
2015-11-19 11:35:02 +01:00
fincs
f6ebc7f285
Merge pull request #221 from Steveice10/mic-fix
...
Fix order of memalign parameters in MIC example.
2015-11-19 01:12:50 +01:00
Steven Smith
d6dc1d52c5
Fix order of memalign parameters in MIC example.
2015-11-18 15:45:01 -08:00
fincs
6e3b2a4cd7
Merge pull request #219 from Steveice10/launcher
...
Reference count srv, cleanup launcher code.
2015-11-15 23:18:52 +01:00
Steven Smith
13a5a225b3
Reference count srv, cleanup launcher code.
2015-11-15 13:02:06 -08:00
fincs
651013d3d0
Fix PATH_UTF16 size miscalculation, yet again
2015-11-15 19:21:00 +01:00
fincs
b96697f7a4
Bring back fsMakePath
2015-11-15 13:51:01 +01:00
fincs
083e89628e
Merge pull request #218 from Steveice10/fs
...
Bring FS up to date.
2015-11-15 13:27:17 +01:00
Steven Smith
324fcff1dc
Bring FS up to date.
2015-11-14 17:36:07 -08:00
fincs
c49480f5d5
Fix examples after service refactor
2015-11-11 21:13:31 +01:00
fincs
9083a97014
Fix a typo that wreaked havoc
2015-11-11 19:43:27 +01:00
fincs
5d41effb6e
Merge pull request #216 from Steveice10/service-cleanup
...
Service cleanup.
2015-11-11 19:32:20 +01:00
Steven Smith
375fbce98a
Service cleanup.
2015-11-11 08:57:54 -08:00
fincs
6a7f13654d
Fix #204
2015-11-09 17:32:17 -05: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
yellows8
e87ad0ad6c
Implemented code for getting the system-version from NAND NVer/CVer.
2015-11-08 21:28:39 -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
yellows8
fcb370a8c1
Implemented FSUSER_GetProductInfo.
2015-11-07 17:35:54 -05: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