]> Chaos Git - corbenik/ctrulib.git/log
corbenik/ctrulib.git
10 years agoFix examples after service refactor
fincs [Wed, 11 Nov 2015 20:13:31 +0000 (21:13 +0100)]
Fix examples after service refactor

10 years agoFix a typo that wreaked havoc
fincs [Wed, 11 Nov 2015 18:43:27 +0000 (19:43 +0100)]
Fix a typo that wreaked havoc

10 years agoMerge pull request #216 from Steveice10/service-cleanup
fincs [Wed, 11 Nov 2015 18:32:20 +0000 (19:32 +0100)]
Merge pull request #216 from Steveice10/service-cleanup

Service cleanup.

10 years agoService cleanup.
Steven Smith [Wed, 11 Nov 2015 04:33:37 +0000 (20:33 -0800)]
Service cleanup.

10 years agoMerge pull request #214 from thedax/great-refactor-fix
smea [Mon, 9 Nov 2015 21:37:19 +0000 (13:37 -0800)]
Merge pull request #214 from thedax/great-refactor-fix

Pretty sure it's not a good idea to decrement a handle.

10 years agoPretty sure it's not a good idea to decrement a handle.
thedax [Mon, 9 Nov 2015 21:31:31 +0000 (16:31 -0500)]
Pretty sure it's not a good idea to decrement a handle.

10 years agoMerge pull request #212 from Steveice10/newss
fincs [Sun, 8 Nov 2015 21:53:12 +0000 (22:53 +0100)]
Merge pull request #212 from Steveice10/newss

Add news:s support.

10 years agoAdd news:s support.
Steven Smith [Sun, 8 Nov 2015 21:26:29 +0000 (13:26 -0800)]
Add news:s support.

10 years agoMerge pull request #211 from Steveice10/fix-139
fincs [Sun, 8 Nov 2015 20:13:32 +0000 (21:13 +0100)]
Merge pull request #211 from Steveice10/fix-139

Fix #139

10 years agoFix #139
Steven Smith [Sun, 8 Nov 2015 20:00:33 +0000 (12:00 -0800)]
Fix #139

10 years agoMerge pull request #210 from Steveice10/mic-fix
fincs [Sun, 8 Nov 2015 19:29:31 +0000 (20:29 +0100)]
Merge pull request #210 from Steveice10/mic-fix

Fix MIC cutting off a second of audio.

10 years agoFix MIC cutting off a second of audio.
Steven Smith [Sun, 8 Nov 2015 19:24:04 +0000 (11:24 -0800)]
Fix MIC cutting off a second of audio.

10 years agoMerge pull request #205 from Steveice10/great-refactor
fincs [Sat, 7 Nov 2015 23:22:47 +0000 (00:22 +0100)]
Merge pull request #205 from Steveice10/great-refactor

Rewrite MIC service code, clean up microphone example.

10 years agoRewrite MIC service code, clean up microphone example.
Steven Smith [Sat, 7 Nov 2015 06:02:37 +0000 (22:02 -0800)]
Rewrite MIC service code, clean up microphone example.

10 years agoFix #206
fincs [Sat, 7 Nov 2015 11:46:24 +0000 (12:46 +0100)]
Fix #206

10 years agoFix some mistakes in 2797540a
fincs [Sat, 7 Nov 2015 00:52:35 +0000 (01:52 +0100)]
Fix some mistakes in 2797540a

10 years agoRevise most services to follow these guidelines:
fincs [Sat, 7 Nov 2015 00:25:31 +0000 (01:25 +0100)]
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

10 years agosynchronization.h: Add DSB & several atomic operations
fincs [Sat, 7 Nov 2015 00:07:11 +0000 (01:07 +0100)]
synchronization.h: Add DSB & several atomic operations

10 years agoAdd <3ds/result.h> header - 3DS result codes
fincs [Sat, 7 Nov 2015 00:04:31 +0000 (01:04 +0100)]
Add <3ds/result.h> header - 3DS result codes

10 years agoFix #204
fincs [Fri, 6 Nov 2015 19:39:41 +0000 (20:39 +0100)]
Fix #204

10 years agoMinor cleanup in os.h/os.c + add osGet3DSliderState()
fincs [Thu, 5 Nov 2015 11:33:43 +0000 (12:33 +0100)]
Minor cleanup in os.h/os.c + add osGet3DSliderState()

10 years agoAdd more (void) and remove more service handle parameters
fincs [Thu, 5 Nov 2015 10:48:23 +0000 (11:48 +0100)]
Add more (void) and remove more service handle parameters

10 years agoMerge branch 'master' into great-refactor
fincs [Sun, 1 Nov 2015 13:14:01 +0000 (14:14 +0100)]
Merge branch 'master' into great-refactor

# Conflicts:
# libctru/include/3ds/services/httpc.h

10 years agoRoll out a new libctru build v0.6.0
fincs [Sun, 1 Nov 2015 12:59:34 +0000 (13:59 +0100)]
Roll out a new libctru build

10 years agoFixed the use_defaultproxy value used by the http example.
yellows8 [Thu, 29 Oct 2015 19:27:39 +0000 (15:27 -0400)]
Fixed the use_defaultproxy value used by the http example.

10 years agoRemoved an unused debug line in httpc.c. Set the httpc servhandle to zero in httpcExi...
yellows8 [Thu, 29 Oct 2015 19:21:08 +0000 (15:21 -0400)]
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.

10 years agoMerge branch 'master' into great-refactor
fincs [Wed, 28 Oct 2015 12:34:17 +0000 (13:34 +0100)]
Merge branch 'master' into great-refactor

10 years agoMerge pull request #158 from Lectem/patch-1
fincs [Wed, 28 Oct 2015 12:18:37 +0000 (13:18 +0100)]
Merge pull request #158 from Lectem/patch-1

Protocol numbers and sockopt IP level

10 years agoChanged gfxSwapBuffers() to gfxSwapBuffersGpu() in consoleInit(). This fixes the...
yellows8 [Tue, 27 Oct 2015 23:34:07 +0000 (19:34 -0400)]
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).

10 years agoMerge branch 'master' of github.com:smealum/ctrulib
smea [Tue, 27 Oct 2015 17:59:56 +0000 (10:59 -0700)]
Merge branch 'master' of github.com:smealum/ctrulib

10 years agoadded support for other cfg service names
smea [Tue, 27 Oct 2015 17:59:52 +0000 (10:59 -0700)]
added support for other cfg service names

10 years agoaptInit(): Wait for APT_RUNNING (solves certain timing problems)
fincs [Mon, 26 Oct 2015 20:19:00 +0000 (21:19 +0100)]
aptInit(): Wait for APT_RUNNING (solves certain timing problems)

10 years agoMore NDSP wavebuf queue fixes
fincs [Sat, 24 Oct 2015 19:56:40 +0000 (21:56 +0200)]
More NDSP wavebuf queue fixes

10 years agoAPT: fix status event issue that breaks things under certain circumstances
fincs [Sat, 24 Oct 2015 11:48:15 +0000 (13:48 +0200)]
APT: fix status event issue that breaks things under certain circumstances

10 years agoNDSP: some more safety checks and fixes
fincs [Sat, 24 Oct 2015 11:47:31 +0000 (13:47 +0200)]
NDSP: some more safety checks and fixes

10 years agoReally really fix NDSP wavebuf scheduling, this time for real
fincs [Fri, 23 Oct 2015 23:47:23 +0000 (01:47 +0200)]
Really really fix NDSP wavebuf scheduling, this time for real

10 years agoReally fix NDSP wavebuf scheduling
fincs [Fri, 23 Oct 2015 23:05:23 +0000 (01:05 +0200)]
Really fix NDSP wavebuf scheduling

10 years agoFix NDSP wavebuf synchronization issue (thanks to Lectem)
fincs [Fri, 23 Oct 2015 22:54:57 +0000 (00:54 +0200)]
Fix NDSP wavebuf synchronization issue (thanks to Lectem)

10 years agoMerge branch 'master' into great-refactor
fincs [Thu, 22 Oct 2015 20:56:14 +0000 (22:56 +0200)]
Merge branch 'master' into great-refactor

10 years agoMerge pull request #198 from wchill/camera-example
fincs [Thu, 22 Oct 2015 20:49:44 +0000 (22:49 +0200)]
Merge pull request #198 from wchill/camera-example

Fix camera example bug and add video capture example

10 years agoFix freezing on camera image example, add camera video example
Eric Ahn [Thu, 22 Oct 2015 17:32:41 +0000 (12:32 -0500)]
Fix freezing on camera image example, add camera video example

10 years agoMerge branch 'master' into great-refactor
fincs [Thu, 22 Oct 2015 09:34:33 +0000 (11:34 +0200)]
Merge branch 'master' into great-refactor

10 years agoMerge pull request #196 from wchill/camera-example
fincs [Thu, 22 Oct 2015 09:33:55 +0000 (11:33 +0200)]
Merge pull request #196 from wchill/camera-example

Add camera example

10 years agoAdd camera example
Eric Ahn [Wed, 21 Oct 2015 23:55:33 +0000 (18:55 -0500)]
Add camera example

10 years agoMerge pull request #197 from Lectem/y2r_finished
fincs [Thu, 22 Oct 2015 09:26:08 +0000 (11:26 +0200)]
Merge pull request #197 from Lectem/y2r_finished

Y2R : Added the missing struct and functions

10 years agoAdded the missing struct and functions
Lectem [Thu, 22 Oct 2015 02:12:38 +0000 (22:12 -0400)]
Added the missing struct and functions

10 years agofixed bug which caused gsp shared mem to never be unmapped when using gfx
smea [Wed, 21 Oct 2015 06:03:03 +0000 (23:03 -0700)]
fixed bug which caused gsp shared mem to never be unmapped when using gfx

10 years agofixed bug which caused gsp shared mem to never be unmapped when using gfx
smea [Wed, 21 Oct 2015 06:03:03 +0000 (23:03 -0700)]
fixed bug which caused gsp shared mem to never be unmapped when using gfx

10 years agoSome additions to NDSP code (thanks to Lectem)
fincs [Sun, 18 Oct 2015 21:06:11 +0000 (23:06 +0200)]
Some additions to NDSP code (thanks to Lectem)

10 years agoMerge branch 'master' into great-refactor
fincs [Sun, 11 Oct 2015 21:49:25 +0000 (23:49 +0200)]
Merge branch 'master' into great-refactor

10 years agoAdd code to manage New 3DS CPU speedup
fincs [Sun, 11 Oct 2015 21:47:23 +0000 (23:47 +0200)]
Add code to manage New 3DS CPU speedup

# Conflicts:
# libctru/include/3ds/os.h
# libctru/include/3ds/services/ptm.h

10 years agoAdd code to manage New 3DS CPU speedup
fincs [Sun, 11 Oct 2015 21:44:10 +0000 (23:44 +0200)]
Add code to manage New 3DS CPU speedup

10 years agoDo not include the source folder in Doxygen, tidy up README.md
fincs [Sat, 10 Oct 2015 00:04:16 +0000 (02:04 +0200)]
Do not include the source folder in Doxygen, tidy up README.md

10 years agoRemove Doxygen version tag due to generated files being changed for every single...
fincs [Fri, 9 Oct 2015 23:56:39 +0000 (01:56 +0200)]
Remove Doxygen version tag due to generated files being changed for every single commit

10 years agoMerge pull request #193 from Lectem/patch-2
fincs [Fri, 9 Oct 2015 23:44:27 +0000 (01:44 +0200)]
Merge pull request #193 from Lectem/patch-2

Document the loop behaviour of csndPlaySound

10 years agoDocument the loop behaviour of csndPlaySound
Lectem [Fri, 9 Oct 2015 23:41:29 +0000 (19:41 -0400)]
Document the loop behaviour of csndPlaySound

10 years agoMerge branch 'great-refactor' of github.com:smealum/ctrulib into great-refactor
fincs [Fri, 9 Oct 2015 22:13:42 +0000 (00:13 +0200)]
Merge branch 'great-refactor' of github.com:smealum/ctrulib into great-refactor

10 years agoAdd encrypted token for Travis CI documentation building
fincs [Fri, 9 Oct 2015 22:13:05 +0000 (00:13 +0200)]
Add encrypted token for Travis CI documentation building

10 years agoMerge remote-tracking branch 'Lectem/travis_ci' into great-refactor
fincs [Fri, 9 Oct 2015 22:10:17 +0000 (00:10 +0200)]
Merge remote-tracking branch 'Lectem/travis_ci' into great-refactor

10 years agoadd commit number and readme.md to doc
Lectem [Fri, 9 Oct 2015 21:34:12 +0000 (17:34 -0400)]
add commit number and readme.md to doc

10 years agotravis CI
Lectem [Sun, 12 Jul 2015 18:21:05 +0000 (20:21 +0200)]
travis CI

10 years agoAdded INADDR_LOOPBACK define
Lectem [Fri, 9 Oct 2015 17:37:01 +0000 (13:37 -0400)]
Added INADDR_LOOPBACK define

10 years agoMerge pull request #191 from Steveice10/great-refactor
fincs [Fri, 9 Oct 2015 08:18:08 +0000 (10:18 +0200)]
Merge pull request #191 from Steveice10/great-refactor

Fix DSP_SendData writing the value to the wrong index.

10 years agoFix DSP_SendData writing the value to the wrong index.
Steven Smith [Fri, 9 Oct 2015 06:04:13 +0000 (23:04 -0700)]
Fix DSP_SendData writing the value to the wrong index.

10 years agoMerge pull request #190 from Sahnvour/great-refactor
fincs [Wed, 7 Oct 2015 22:54:01 +0000 (00:54 +0200)]
Merge pull request #190 from Sahnvour/great-refactor

Fix NDSP enums for C++.

10 years agoFix NDSP enums for C++.
Antoine Vugliano [Wed, 7 Oct 2015 22:43:58 +0000 (00:43 +0200)]
Fix NDSP enums for C++.

10 years agoClean up svc.s
fincs [Wed, 7 Oct 2015 21:32:20 +0000 (23:32 +0200)]
Clean up svc.s

10 years agoMerge pull request #189 from Lectem/fix_cpp
fincs [Wed, 7 Oct 2015 20:03:08 +0000 (22:03 +0200)]
Merge pull request #189 from Lectem/fix_cpp

fixed enums for c++

10 years agofixed enums for c++
Lectem [Wed, 7 Oct 2015 20:00:19 +0000 (16:00 -0400)]
fixed enums for c++

10 years agoFix potential race condition in LightLock_Unlock() (spotted by mtheall)
fincs [Wed, 7 Oct 2015 19:48:26 +0000 (21:48 +0200)]
Fix potential race condition in LightLock_Unlock() (spotted by mtheall)

10 years agofix SOL_SOCKET level options
Lectem [Tue, 6 Oct 2015 16:48:25 +0000 (12:48 -0400)]
fix SOL_SOCKET level options

10 years agoFix GPUCMD_AddSingleParam() C++ compatibility issue
fincs [Wed, 7 Oct 2015 18:50:57 +0000 (20:50 +0200)]
Fix GPUCMD_AddSingleParam() C++ compatibility issue

10 years agoMerge branch 'master' into great-refactor
fincs [Wed, 7 Oct 2015 18:48:35 +0000 (20:48 +0200)]
Merge branch 'master' into great-refactor

10 years agoMerge pull request #188 from linkmauve/no-executable-makefiles
fincs [Wed, 7 Oct 2015 18:48:05 +0000 (20:48 +0200)]
Merge pull request #188 from linkmauve/no-executable-makefiles

Remove the executable bit from examples’ Makefiles

10 years agoRemove the executable bit from examples’ Makefiles
Emmanuel Gil Peyrot [Tue, 6 Oct 2015 21:58:03 +0000 (22:58 +0100)]
Remove the executable bit from examples’ Makefiles

The normal way to invoke a Makefile is to run `make`, not to run the
Makefile directly.  Besides they would be missing a shebang anyway.

10 years agofixed some netinet/in.h formating
Lectem [Tue, 6 Oct 2015 15:16:29 +0000 (11:16 -0400)]
fixed some netinet/in.h formating

10 years agoProtocol numbers and sockopt options
Lectem [Thu, 27 Aug 2015 18:24:10 +0000 (14:24 -0400)]
Protocol numbers and sockopt options

Protocol numbers are based on both RFC 1700 p.7 and the Internet Assigned Numbers Authority (IANA) http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml

Those are to be used with the added sockopt options. The various options have been
tested with wireshark.

10 years agoDocufixes
fincs [Tue, 6 Oct 2015 09:47:28 +0000 (11:47 +0200)]
Docufixes

10 years agoMerge pull request #186 from Steveice10/docs
fincs [Tue, 6 Oct 2015 09:26:37 +0000 (11:26 +0200)]
Merge pull request #186 from Steveice10/docs

Finish up basic documentation.

10 years agoMerge pull request #187 from Lectem/documentation
fincs [Tue, 6 Oct 2015 09:25:52 +0000 (11:25 +0200)]
Merge pull request #187 from Lectem/documentation

do not include internal structs in documentation

10 years agodo not include internal structs in doc
Lectem [Tue, 6 Oct 2015 03:00:24 +0000 (23:00 -0400)]
do not include internal structs in doc

10 years agoFinish up basic documentation.
Steven Smith [Tue, 6 Oct 2015 01:35:15 +0000 (18:35 -0700)]
Finish up basic documentation.

10 years agoWhoops
fincs [Mon, 5 Oct 2015 09:40:20 +0000 (11:40 +0200)]
Whoops

10 years agoMerge branch 'master' into great-refactor
fincs [Mon, 5 Oct 2015 09:39:11 +0000 (11:39 +0200)]
Merge branch 'master' into great-refactor

10 years agoMerge pull request #184 from Steveice10/docs
fincs [Mon, 5 Oct 2015 09:38:40 +0000 (11:38 +0200)]
Merge pull request #184 from Steveice10/docs

Document most of services.

10 years agoMerge pull request #183 from Lectem/patch-2
fincs [Mon, 5 Oct 2015 09:37:18 +0000 (11:37 +0200)]
Merge pull request #183 from Lectem/patch-2

Allow documentation for static functions

10 years agoDocument most of services.
Steven Smith [Mon, 5 Oct 2015 05:27:43 +0000 (22:27 -0700)]
Document most of services.

10 years agoAllow documentation for static functions
Lectem [Sun, 4 Oct 2015 22:55:07 +0000 (18:55 -0400)]
Allow documentation for static functions

This will show static functions such as the ones in the ipc.h header in the documentation.

10 years agoMerge pull request #182 from Steveice10/docs
fincs [Sun, 4 Oct 2015 22:07:48 +0000 (00:07 +0200)]
Merge pull request #182 from Steveice10/docs

Finish documentation in include/3ds and include/3ds/util.

10 years agoDoc consistency.
Steven Smith [Sun, 4 Oct 2015 21:08:02 +0000 (14:08 -0700)]
Doc consistency.

10 years agoFinish documentation in include/3ds and include/3ds/util.
Steven Smith [Sun, 4 Oct 2015 19:18:36 +0000 (12:18 -0700)]
Finish documentation in include/3ds and include/3ds/util.

10 years agoMerge pull request #181 from Steveice10/doxygen-format
fincs [Sun, 4 Oct 2015 17:42:11 +0000 (19:42 +0200)]
Merge pull request #181 from Steveice10/doxygen-format

Rewrite most documentation to be consistent in format.

10 years agoRewrite most documentation to be consistent in format.
Steven Smith [Sun, 4 Oct 2015 17:13:55 +0000 (10:13 -0700)]
Rewrite most documentation to be consistent in format.

10 years agoMerge branch 'master' into great-refactor
fincs [Sun, 4 Oct 2015 15:37:19 +0000 (17:37 +0200)]
Merge branch 'master' into great-refactor

Conflicts:
libctru/include/3ds/services/hid.h
libctru/include/3ds/services/irrst.h

10 years agoMerge pull request #180 from Steveice10/master
fincs [Sun, 4 Oct 2015 15:32:02 +0000 (17:32 +0200)]
Merge pull request #180 from Steveice10/master

Dynamically allocate shared memory.

10 years agoDynamically allocate shared memory.
Steven Smith [Sat, 3 Oct 2015 23:33:48 +0000 (16:33 -0700)]
Dynamically allocate shared memory.

10 years agoMerge branch 'master' into great-refactor
fincs [Sat, 3 Oct 2015 16:46:04 +0000 (18:46 +0200)]
Merge branch 'master' into great-refactor

Conflicts:
libctru/include/3ds/services/gsp.h
libctru/source/services/gsp.c

10 years agoMerge pull request #176 from thedax/gspLcd
fincs [Sat, 3 Oct 2015 16:42:50 +0000 (18:42 +0200)]
Merge pull request #176 from thedax/gspLcd

Implement some services from gsp::Lcd.

10 years agoMerge pull request #179 from profi200/great-refactor
fincs [Sat, 3 Oct 2015 16:41:10 +0000 (18:41 +0200)]
Merge pull request #179 from profi200/great-refactor

Renamed TitleList to AM_TitleEntry.

10 years agoRenamed TitleList to AM_TitleEntry.
profi200 [Sat, 3 Oct 2015 16:37:47 +0000 (18:37 +0200)]
Renamed TitleList to AM_TitleEntry.