]> Chaos Git - corbenik/ctrulib.git/log
corbenik/ctrulib.git
11 years agoAdded CFGU_GetConfigInfoBlk2() and an example.
profi200 [Fri, 26 Dec 2014 01:31:59 +0000 (02:31 +0100)]
Added CFGU_GetConfigInfoBlk2() and an example.

11 years agoauto initialise commonly used services, prevent double initialisation
Dave Murphy [Thu, 25 Dec 2014 23:27:36 +0000 (23:27 +0000)]
auto initialise commonly used services, prevent double initialisation

11 years agogive function the right name
Dave Murphy [Thu, 25 Dec 2014 10:59:22 +0000 (10:59 +0000)]
give function the right name

11 years agoinclude header for memcpy
Dave Murphy [Thu, 25 Dec 2014 10:52:52 +0000 (10:52 +0000)]
include header for memcpy

11 years agosplit up sysyem initialisation and allow overriding
Dave Murphy [Thu, 25 Dec 2014 10:50:38 +0000 (10:50 +0000)]
split up sysyem initialisation and allow overriding

11 years agofixed hb naming
smea [Thu, 25 Dec 2014 05:06:09 +0000 (21:06 -0800)]
fixed hb naming

11 years agoMerge pull request #57 from Aurelio92/example-HelloWorld
Dave Murphy [Wed, 24 Dec 2014 19:35:53 +0000 (19:35 +0000)]
Merge pull request #57 from Aurelio92/example-HelloWorld

Added a Hello World example

11 years agoadd library template
Dave Murphy [Wed, 24 Dec 2014 19:32:49 +0000 (19:32 +0000)]
add library template

11 years agomove template to examples/templates/application
Dave Murphy [Wed, 24 Dec 2014 19:32:18 +0000 (19:32 +0000)]
move template to examples/templates/application

11 years agoadditional HB stuff
smea [Wed, 24 Dec 2014 05:05:55 +0000 (21:05 -0800)]
additional HB stuff

11 years agoadded HB service support (ninjhax only)
smea [Wed, 24 Dec 2014 04:47:00 +0000 (20:47 -0800)]
added HB service support (ninjhax only)

11 years agoAdded qtm support + example.
yellows8 [Sun, 21 Dec 2014 06:02:23 +0000 (01:02 -0500)]
Added qtm support + example.

11 years agoset errno for file too big
Dave Murphy [Sun, 21 Dec 2014 03:13:15 +0000 (03:13 +0000)]
set errno for file too big

11 years agoAdd gfxGetScreenFormat().
mtheall [Sat, 20 Dec 2014 05:38:30 +0000 (23:38 -0600)]
Add gfxGetScreenFormat().

11 years agoFix osGetTime(), this time for real (also: race condition fix by mtheall)
fincs [Fri, 19 Dec 2014 18:47:10 +0000 (19:47 +0100)]
Fix osGetTime(), this time for real (also: race condition fix by mtheall)

11 years agoRevert "Merge branch 'master' of github.com:smealum/ctrulib"
smea [Thu, 18 Dec 2014 06:41:31 +0000 (22:41 -0800)]
Revert "Merge branch 'master' of github.com:smealum/ctrulib"

This reverts commit f934dc0982859d9c334e76db766c4a9400c5c8bc, reversing
changes made to 60edc69d736a34817b56bb7e3c47348d1f26e227.

11 years agoMerge branch 'master' of github.com:smealum/ctrulib
smea [Thu, 18 Dec 2014 06:28:39 +0000 (22:28 -0800)]
Merge branch 'master' of github.com:smealum/ctrulib

11 years agoadded registers.h
smea [Thu, 18 Dec 2014 06:28:26 +0000 (22:28 -0800)]
added registers.h

11 years agosdmc_open: implement O_EXCL and O_TRUNC
Dave Murphy [Mon, 15 Dec 2014 23:23:04 +0000 (23:23 +0000)]
sdmc_open: implement O_EXCL and O_TRUNC

11 years agoFixed a little mess I made with dir-names :D
Aurelio Mannara [Mon, 15 Dec 2014 08:53:39 +0000 (09:53 +0100)]
Fixed a little mess I made with dir-names :D

11 years agoUsed *.c extension and lower case dir name
Aurelio Mannara [Mon, 15 Dec 2014 08:32:48 +0000 (09:32 +0100)]
Used *.c extension and lower case dir name

11 years agoUsed *.c extension and lower case dir name
Aurelio Mannara [Mon, 15 Dec 2014 08:23:03 +0000 (09:23 +0100)]
Used *.c extension and lower case dir name

11 years agostop svcOutputDebugString trashing string
Dave Murphy [Mon, 15 Dec 2014 02:40:11 +0000 (02:40 +0000)]
stop svcOutputDebugString trashing string

11 years agoMerge pull request #52 from Aurelio92/2-new-hid-function
plutoo [Mon, 15 Dec 2014 00:46:49 +0000 (01:46 +0100)]
Merge pull request #52 from Aurelio92/2-new-hid-function

Added 2 hid functions

11 years agoReverting previous commit, fixing more resource leaks
plutoo [Mon, 15 Dec 2014 00:43:18 +0000 (01:43 +0100)]
Reverting previous commit, fixing more resource leaks

11 years agoProposed fix for issue #66
plutoo [Mon, 15 Dec 2014 00:36:25 +0000 (01:36 +0100)]
Proposed fix for issue #66

11 years agoFixed handle leak in httpc
plutoo [Mon, 15 Dec 2014 00:33:37 +0000 (01:33 +0100)]
Fixed handle leak in httpc

11 years agoFix inet_aton.
mtheall [Sun, 14 Dec 2014 20:56:20 +0000 (14:56 -0600)]
Fix inet_aton.

11 years agoAdd a VRAM allocator
fincs [Sun, 14 Dec 2014 16:47:34 +0000 (17:47 +0100)]
Add a VRAM allocator

11 years agoAdded an Hello World example
Aurelio Mannara [Sun, 14 Dec 2014 16:29:29 +0000 (17:29 +0100)]
Added an Hello World example

11 years agoMerge pull request #56 from profi200/master
plutoo [Sat, 13 Dec 2014 23:57:38 +0000 (00:57 +0100)]
Merge pull request #56 from profi200/master

Fixed weird blackscreen issue

11 years agoFixed weird blackscreen issue
profi200 [Sat, 13 Dec 2014 23:21:29 +0000 (00:21 +0100)]
Fixed weird blackscreen issue

11 years agoFix linear.cpp
fincs [Sat, 13 Dec 2014 19:05:48 +0000 (20:05 +0100)]
Fix linear.cpp

11 years agostop building everything when any header changes
Dave Murphy [Sat, 13 Dec 2014 16:36:54 +0000 (16:36 +0000)]
stop building everything when any header changes

11 years agofix PM_LaunchFIRMSetParams and PM_LaunchTitle prototypes
Dave Murphy [Sat, 13 Dec 2014 16:20:54 +0000 (16:20 +0000)]
fix PM_LaunchFIRMSetParams and PM_LaunchTitle prototypes

11 years agoallow redirecting stderr to 3dmoo
Dave Murphy [Sat, 13 Dec 2014 14:03:12 +0000 (14:03 +0000)]
allow redirecting stderr to 3dmoo

11 years agoAdded 2 hid functions
Aurelio Mannara [Sat, 13 Dec 2014 12:10:54 +0000 (13:10 +0100)]
Added 2 hid functions

-Added HIDUSER_GetGyroscopeRawToDpsCoefficient(float *coeff)
-Added HIDUSER_GetSoundVolume(u8 *volume)

11 years agorender strikethrough & underline
Dave Murphy [Sat, 13 Dec 2014 03:19:57 +0000 (03:19 +0000)]
render strikethrough & underline

11 years agomake it build
Dave Murphy [Sat, 13 Dec 2014 03:11:21 +0000 (03:11 +0000)]
make it build

11 years agofix formatting
Dave Murphy [Sat, 13 Dec 2014 03:07:41 +0000 (03:07 +0000)]
fix formatting

11 years agounneeded default case
Dave Murphy [Sat, 13 Dec 2014 03:07:00 +0000 (03:07 +0000)]
unneeded default case

11 years agobetter parameter checking
Dave Murphy [Sat, 13 Dec 2014 02:58:07 +0000 (02:58 +0000)]
better parameter checking

11 years agosupport more codes
Dave Murphy [Sat, 13 Dec 2014 02:51:57 +0000 (02:51 +0000)]
support more codes

11 years agointialise parameter, ignore unsupported escapes
Dave Murphy [Sat, 13 Dec 2014 02:40:25 +0000 (02:40 +0000)]
intialise parameter, ignore unsupported escapes

11 years agocheck parameters are valid as we parse
Dave Murphy [Sat, 13 Dec 2014 02:32:21 +0000 (02:32 +0000)]
check parameters are valid as we parse

11 years agouse switch for 'm' parameters
Dave Murphy [Sat, 13 Dec 2014 02:24:24 +0000 (02:24 +0000)]
use switch for 'm' parameters

11 years agouse 3 intensity levels
Dave Murphy [Sat, 13 Dec 2014 02:21:50 +0000 (02:21 +0000)]
use 3 intensity levels

11 years agoadd macro to convert 8bit RGB to RGB565
Dave Murphy [Fri, 12 Dec 2014 22:57:24 +0000 (22:57 +0000)]
add macro to convert 8bit RGB to RGB565

11 years agoallow console on either screen
Dave Murphy [Fri, 12 Dec 2014 13:43:40 +0000 (13:43 +0000)]
allow console on either screen

11 years agofix scroll size
Dave Murphy [Fri, 12 Dec 2014 13:40:54 +0000 (13:40 +0000)]
fix scroll size

11 years agouse word copy for extra speed in console scroll
Dave Murphy [Fri, 12 Dec 2014 12:18:00 +0000 (12:18 +0000)]
use word copy for extra speed in console scroll

11 years agofix console scrolling
Dave Murphy [Fri, 12 Dec 2014 12:05:45 +0000 (12:05 +0000)]
fix console scrolling

11 years agolighten up half bright green
Dave Murphy [Fri, 12 Dec 2014 10:58:16 +0000 (10:58 +0000)]
lighten up half bright green

11 years agofix color code scanning
Dave Murphy [Fri, 12 Dec 2014 09:57:58 +0000 (09:57 +0000)]
fix color code scanning

11 years agoMerge pull request #50 from yuriks/memperm-dontcare
smea [Fri, 12 Dec 2014 03:18:48 +0000 (19:18 -0800)]
Merge pull request #50 from yuriks/memperm-dontcare

Add MEMPERM_DONTCARE to MemPerm

11 years agoadd console
Dave Murphy [Thu, 11 Dec 2014 23:05:29 +0000 (23:05 +0000)]
add console

11 years agouse correct doubleBuf variable
Dave Murphy [Fri, 12 Dec 2014 00:16:23 +0000 (00:16 +0000)]
use correct doubleBuf variable

11 years agoadd macro for building RGB565 colors
Dave Murphy [Thu, 11 Dec 2014 23:03:29 +0000 (23:03 +0000)]
add macro for building RGB565 colors

11 years agoallow independent setting of double buffering
Dave Murphy [Thu, 11 Dec 2014 22:23:58 +0000 (22:23 +0000)]
allow independent setting of double buffering

11 years agoAdd MEMPERM_DONTCARE to MemPerm
Yuri Kunde Schlesner [Thu, 11 Dec 2014 18:44:09 +0000 (16:44 -0200)]
Add MEMPERM_DONTCARE to MemPerm

11 years agoMake soc_fcntl.c more sane.
mtheall [Thu, 11 Dec 2014 14:33:26 +0000 (08:33 -0600)]
Make soc_fcntl.c more sane.

11 years agoCorrect SHDR_GetUniformRegister [WARNING: aemstro_as **doesn't** output this field...
fincs [Wed, 10 Dec 2014 23:01:34 +0000 (00:01 +0100)]
Correct SHDR_GetUniformRegister [WARNING: aemstro_as **doesn't** output this field correctly]

11 years agoMinor correction
fincs [Wed, 10 Dec 2014 10:00:40 +0000 (11:00 +0100)]
Minor correction

11 years agoMerge pull request #49 from archshift/createfile
Dave Murphy [Wed, 10 Dec 2014 09:23:18 +0000 (09:23 +0000)]
Merge pull request #49 from archshift/createfile

Added CreateFile implementation, tested on hardware.

11 years agoAdded CreateFile implementation, tested on hardware.
archshift [Wed, 10 Dec 2014 08:33:08 +0000 (00:33 -0800)]
Added CreateFile implementation, tested on hardware.

Information about using CreateFile was taken from Steel Diver: Sub Wars with the wonderful help of Citra.

11 years agoMerge pull request #48 from endrift/master
smea [Wed, 10 Dec 2014 06:30:27 +0000 (22:30 -0800)]
Merge pull request #48 from endrift/master

Fix copy/paste error in FSFILE_Write documentation

11 years agoFix copy/paste error in FSFILE_Write documentation
Jeffrey Pfau [Wed, 10 Dec 2014 06:19:57 +0000 (22:19 -0800)]
Fix copy/paste error in FSFILE_Write documentation

11 years agoMerge branch 'master' of github.com:smealum/ctrulib
smea [Wed, 10 Dec 2014 05:49:30 +0000 (21:49 -0800)]
Merge branch 'master' of github.com:smealum/ctrulib

11 years agotemporary solution for 0x10 byte gpucmd alignment
smea [Wed, 10 Dec 2014 05:49:18 +0000 (21:49 -0800)]
temporary solution for 0x10 byte gpucmd alignment

fixes A LOT of gpu related issues

(temporary solution because big gpu refactor is coming soon)

11 years agoset default device so relative paths work in 3dmoo
Dave Murphy [Mon, 8 Dec 2014 23:21:09 +0000 (23:21 +0000)]
set default device so relative paths work in 3dmoo

11 years agoMinor code formatting fix in svc.s
fincs [Mon, 8 Dec 2014 23:15:04 +0000 (00:15 +0100)]
Minor code formatting fix in svc.s

11 years agoMerge pull request #44 from Subv/master
smea [Mon, 8 Dec 2014 23:09:11 +0000 (15:09 -0800)]
Merge pull request #44 from Subv/master

SVC: Implemented svcGetThreadId

11 years agoStyling
Subv [Mon, 8 Dec 2014 23:05:46 +0000 (18:05 -0500)]
Styling

11 years agoSVC: Implemented svcGetThreadId
Subv [Thu, 4 Dec 2014 02:15:38 +0000 (21:15 -0500)]
SVC: Implemented svcGetThreadId

11 years agoMerge pull request #45 from Subv/semaphores
smea [Mon, 8 Dec 2014 23:02:19 +0000 (15:02 -0800)]
Merge pull request #45 from Subv/semaphores

Added svcReleaseSemaphore and svcCreateSemaphore

11 years agoUpdate poll.h
mtheall [Mon, 8 Dec 2014 22:19:07 +0000 (16:19 -0600)]
Update poll.h

11 years agoUpdate poll.h
mtheall [Mon, 8 Dec 2014 18:12:34 +0000 (12:12 -0600)]
Update poll.h

11 years agoAdd gfxSetDoubleBuffering() for disabling double-buffering
fincs [Mon, 8 Dec 2014 14:57:39 +0000 (15:57 +0100)]
Add gfxSetDoubleBuffering() for disabling double-buffering

11 years agoAdded svcReleaseSemaphore and svcCreateSemaphore.
Subv [Thu, 4 Dec 2014 17:04:59 +0000 (12:04 -0500)]
Added svcReleaseSemaphore and svcCreateSemaphore.

Tested.

11 years agobump version for release, add dist target v0.2.0
Dave Murphy [Fri, 5 Dec 2014 13:57:50 +0000 (13:57 +0000)]
bump version for release, add dist target

11 years agoRevert "Update example makefiles"
Dave Murphy [Fri, 5 Dec 2014 13:47:57 +0000 (13:47 +0000)]
Revert "Update example makefiles"

This reverts commit 0f93112ecb43ae145c7e5e353e1e378de31c4a33.

11 years agoRevert "Switch to -mfloat-abi=hard, bump version to 0.2.0"
Dave Murphy [Fri, 5 Dec 2014 13:47:05 +0000 (13:47 +0000)]
Revert "Switch to -mfloat-abi=hard, bump version to 0.2.0"

This reverts commit 3f9e0a630bd72c58df546cb4c4c837c37d429659.

11 years agoAdd getThreadLocalStorage(), major cleanup in svc.h/svc.s
fincs [Wed, 3 Dec 2014 22:40:49 +0000 (23:40 +0100)]
Add getThreadLocalStorage(), major cleanup in svc.h/svc.s

11 years agoUpdate example makefiles
fincs [Wed, 3 Dec 2014 20:25:32 +0000 (21:25 +0100)]
Update example makefiles

11 years agoAdd SMDH embedding to the template
fincs [Wed, 3 Dec 2014 20:24:46 +0000 (21:24 +0100)]
Add SMDH embedding to the template

11 years agoSwitch to -mfloat-abi=hard, bump version to 0.2.0
fincs [Wed, 3 Dec 2014 20:24:22 +0000 (21:24 +0100)]
Switch to -mfloat-abi=hard, bump version to 0.2.0

11 years agosdmc_dev.c: do not redefine __system_argc/argv
fincs [Thu, 4 Dec 2014 10:23:40 +0000 (11:23 +0100)]
sdmc_dev.c: do not redefine __system_argc/argv

11 years agoimplement chdir & relative path support
Dave Murphy [Thu, 4 Dec 2014 00:29:35 +0000 (00:29 +0000)]
implement chdir & relative path support

11 years agoFixed FSUSER_IsSdmcDetected and FSUSER_IsSdmcWritable: the output is an u8 not u32.
yellows8 [Wed, 3 Dec 2014 16:06:01 +0000 (11:06 -0500)]
Fixed FSUSER_IsSdmcDetected and FSUSER_IsSdmcWritable: the output is an u8 not u32.

11 years agoAdd svcSetThreadPriority
fincs [Sat, 29 Nov 2014 20:40:59 +0000 (21:40 +0100)]
Add svcSetThreadPriority

11 years agoFix HOME button shiz.
StapleButter [Sat, 29 Nov 2014 20:04:03 +0000 (21:04 +0100)]
Fix HOME button shiz.
(apparently APP_APPLETSTARTED happens when pressing the HOME button and causes aptWaitStatusEvent() to end prematurely)

11 years agoSleep mode fixes.
StapleButter [Sat, 29 Nov 2014 18:39:00 +0000 (19:39 +0100)]
Sleep mode fixes.

11 years agoFixed broken MIC shutdown code. Use a tmp field for svcControlMemory when not allocat...
yellows8 [Sat, 29 Nov 2014 00:28:59 +0000 (19:28 -0500)]
Fixed broken MIC shutdown code. Use a tmp field for svcControlMemory when not allocating linearmem, in initSystem.c.

11 years agoosGetTime(): avoid using u64<->double conversions (not supported by VFP)
fincs [Fri, 28 Nov 2014 22:54:32 +0000 (23:54 +0100)]
osGetTime(): avoid using u64<->double conversions (not supported by VFP)

11 years agofix examples for unpolluted libctru headers
Dave Murphy [Fri, 28 Nov 2014 21:34:46 +0000 (21:34 +0000)]
fix examples for unpolluted libctru headers

11 years agostop polluting 3ds headers with extra system headers
Dave Murphy [Fri, 28 Nov 2014 13:13:34 +0000 (13:13 +0000)]
stop polluting 3ds headers with extra system headers

11 years agoAdded more code to aptAppletUtility_Exit_RetToApp() for when a library applet is...
yellows8 [Fri, 28 Nov 2014 07:12:49 +0000 (02:12 -0500)]
Added more code to aptAppletUtility_Exit_RetToApp() for when a library applet is closing, but this still doesn't fix the broken applet process termination.

11 years agoAdded note about broken applet process termination with APT_LaunchLibraryApplet().
yellows8 [Fri, 28 Nov 2014 06:26:20 +0000 (01:26 -0500)]
Added note about broken applet process termination with APT_LaunchLibraryApplet().

11 years agoAdded comments to GSP_FramebufferFormats for the pixel byte-sizes.
yellows8 [Thu, 27 Nov 2014 16:27:21 +0000 (11:27 -0500)]
Added comments to GSP_FramebufferFormats for the pixel byte-sizes.

11 years agoMerge branch 'master' of github.com:smealum/ctrulib
yellows8 [Thu, 27 Nov 2014 03:13:12 +0000 (22:13 -0500)]
Merge branch 'master' of github.com:smealum/ctrulib